From 1174f2e9318a58602baccdfb3e2465645d263601 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 22 Feb 2021 11:55:13 +0200 Subject: iOS: Font adjustments --- src/app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app.c') 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) { #endif } /* Sidebars. */ { - if (isVisible_Widget(sidebar)) { + if (isVisible_Widget(sidebar) && deviceType_App() != phone_AppDeviceType) { appendCStr_String(str, "sidebar.toggle\n"); } appendFormat_String(str, "sidebar.mode arg:%d\n", mode_SidebarWidget(sidebar)); - if (isVisible_Widget(sidebar2)) { + if (isVisible_Widget(sidebar2) && deviceType_App() != phone_AppDeviceType) { appendCStr_String(str, "sidebar2.toggle\n"); } appendFormat_String(str, "sidebar2.mode arg:%d\n", mode_SidebarWidget(sidebar2)); -- cgit v1.2.3