diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-09 16:55:09 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-10 06:29:31 +0300 |
commit | 830f8671ca7913b28a35a48748f1d613bac74104 (patch) | |
tree | c2ad6f9cdf36b674f686a62a3a367a0e7c2eb85c /src/ui/util.c | |
parent | f76d37091f575e3578f10c8fb514b97c2248a0cf (diff) |
Mobile: Retain window placement is only for desktop
Diffstat (limited to 'src/ui/util.c')
-rw-r--r-- | src/ui/util.c | 6 |
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); |