summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index b4c43951..4b35f8f7 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1513,7 +1513,7 @@ static int cmp_MenuItem_(const void *e1, const void *e2) {
1513#endif 1513#endif
1514 1514
1515void updatePreferencesLayout_Widget(iWidget *prefs) { 1515void updatePreferencesLayout_Widget(iWidget *prefs) {
1516 if (!prefs || deviceType_App() == phone_AppDeviceType) { 1516 if (!prefs || deviceType_App() != desktop_AppDeviceType) {
1517 return; 1517 return;
1518 } 1518 }
1519 /* Doing manual layout here because the widget arranging logic isn't sophisticated enough. */ 1519 /* Doing manual layout here because the widget arranging logic isn't sophisticated enough. */