summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-09 16:55:09 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-10 06:29:31 +0300
commit830f8671ca7913b28a35a48748f1d613bac74104 (patch)
treec2ad6f9cdf36b674f686a62a3a367a0e7c2eb85c /src/ui
parentf76d37091f575e3578f10c8fb514b97c2248a0cf (diff)
Mobile: Retain window placement is only for desktop
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/util.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index eb0ee661..9713d55f 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -2068,8 +2068,10 @@ iWidget *makePreferences_Widget(void) {
2068 } 2068 }
2069 makeTwoColumnHeading_("${heading.prefs.sizing}", headings, values); 2069 makeTwoColumnHeading_("${heading.prefs.sizing}", headings, values);
2070 addPrefsInputWithHeading_(headings, values, "prefs.uiscale", iClob(new_InputWidget(8))); 2070 addPrefsInputWithHeading_(headings, values, "prefs.uiscale", iClob(new_InputWidget(8)));
2071 addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.retainwindow}"))); 2071 if (deviceType_App() == desktop_AppDeviceType) {
2072 addChild_Widget(values, iClob(makeToggle_Widget("prefs.retainwindow"))); 2072 addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.retainwindow}")));
2073 addChild_Widget(values, iClob(makeToggle_Widget("prefs.retainwindow")));
2074 }
2073 } 2075 }
2074 /* Colors. */ { 2076 /* Colors. */ {
2075 appendTwoColumnPage_(tabs, "${heading.prefs.colors}", '3', &headings, &values); 2077 appendTwoColumnPage_(tabs, "${heading.prefs.colors}", '3', &headings, &values);