From 897186c16f722d8387f5f7360e14eaa7184cd468 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Mon, 19 Jul 2021 23:28:45 +0800 Subject: [PATCH] Revert "Do not show navigation toolbar setting if window aspect ratio is less than 1.7" Revert 699bd264a2b60b9365b0853280526bfee35d8d12 --- .../widgets/personalization_settings_page.dart | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/src/ui/flutter_app/lib/widgets/personalization_settings_page.dart b/src/ui/flutter_app/lib/widgets/personalization_settings_page.dart index 1d778e34..5d23f512 100644 --- a/src/ui/flutter_app/lib/widgets/personalization_settings_page.dart +++ b/src/ui/flutter_app/lib/widgets/personalization_settings_page.dart @@ -409,17 +409,13 @@ class _PersonalizationSettingsPageState titleString: S.of(context).isNotationsShown, ), ListItemDivider(), - Constants.windowAspectRatio > 1.7 - ? SettingsSwitchListTile( - context: context, - value: Config.isHistoryNavigationToolbarShown, - onChanged: setIsHistoryNavigationToolbarShown, - titleString: S.of(context).isHistoryNavigationToolbarShown, - ) - : SizedBox(height: 1), - Constants.windowAspectRatio > 1.7 - ? ListItemDivider() - : SizedBox(height: 1), + SettingsSwitchListTile( + context: context, + value: Config.isHistoryNavigationToolbarShown, + onChanged: setIsHistoryNavigationToolbarShown, + titleString: S.of(context).isHistoryNavigationToolbarShown, + ), + ListItemDivider(), SettingsListTile( context: context, titleString: S.of(context).boardBorderLineWidth,