Revert "Do not show navigation toolbar setting if window aspect ratio is less than 1.7"

Revert 699bd264a2
This commit is contained in:
Calcitem 2021-07-19 23:28:45 +08:00
parent 8fbda21cd4
commit 897186c16f
No known key found for this signature in database
GPG Key ID: F2F7C29E054CFB80
1 changed files with 7 additions and 11 deletions

View File

@ -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,