mobile layout (#24)

This commit is contained in:
ouwou
2021-04-18 23:51:43 -04:00
parent 2065ef4940
commit a7bf9a2404
5 changed files with 92 additions and 48 deletions

View File

@@ -82,6 +82,7 @@ bool SettingsManager::GetShowOwnerCrown() const {
return GetSettingBool("gui", "owner_crown", true);
}
bool SettingsManager::GetAltChannelWidget() const {
return GetSettingBool("gui", "alt_channel_widget", false);
bool SettingsManager::GetUseMobileLayout() const {
// todo: see if there's some sort of preprocessor directive to default this to true on mobile platforms
return GetSettingBool("gui", "mobile", false);
}