reorganize tab bar menus; readerview button visibility via setting;

This commit is contained in:
Fabian Freund
2025-11-05 07:57:52 +01:00
parent 55305c3dd1
commit 2bfb3fdf87
10 changed files with 418 additions and 306 deletions
@@ -346,6 +346,22 @@ class GeneralSettingsScreen extends HookConsumerWidget {
}
: null,
),
SwitchListTile.adaptive(
title: const Text('Reader Mode in Tab Bar'),
subtitle: const Text(
'Show reader mode button in the tab bar instead of only in the tab menu',
),
secondary: const Icon(MdiIcons.bookHeart),
value: generalSettings.tabBarReaderView,
onChanged: (value) async {
await ref
.read(saveGeneralSettingsControllerProvider.notifier)
.save(
(currentSettings) =>
currentSettings.copyWith.tabBarReaderView(value),
);
},
),
SwitchListTile.adaptive(
title: const Text('Create Child Tabs'),
subtitle: const Text(