summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.c b/src/app.c
index 08273591..0f642314 100644
--- a/src/app.c
+++ b/src/app.c
@@ -195,11 +195,11 @@ static iString *serializePrefs_App_(const iApp *d) {
195#endif 195#endif
196 } 196 }
197 /* Sidebars. */ { 197 /* Sidebars. */ {
198 if (isVisible_Widget(sidebar)) { 198 if (isVisible_Widget(sidebar) && deviceType_App() != phone_AppDeviceType) {
199 appendCStr_String(str, "sidebar.toggle\n"); 199 appendCStr_String(str, "sidebar.toggle\n");
200 } 200 }
201 appendFormat_String(str, "sidebar.mode arg:%d\n", mode_SidebarWidget(sidebar)); 201 appendFormat_String(str, "sidebar.mode arg:%d\n", mode_SidebarWidget(sidebar));
202 if (isVisible_Widget(sidebar2)) { 202 if (isVisible_Widget(sidebar2) && deviceType_App() != phone_AppDeviceType) {
203 appendCStr_String(str, "sidebar2.toggle\n"); 203 appendCStr_String(str, "sidebar2.toggle\n");
204 } 204 }
205 appendFormat_String(str, "sidebar2.mode arg:%d\n", mode_SidebarWidget(sidebar2)); 205 appendFormat_String(str, "sidebar2.mode arg:%d\n", mode_SidebarWidget(sidebar2));