feature extension shortcut

This commit is contained in:
Fabian Freund
2025-07-09 23:46:08 +02:00
parent 8a23f37887
commit 324474f2fc
7 changed files with 116 additions and 2 deletions
@@ -210,6 +210,22 @@ class GeneralSettingsScreen extends HookConsumerWidget {
);
},
),
SwitchListTile.adaptive(
title: const Text('Show Extension Shortcut'),
subtitle: const Text(
'Display an extension menu directly on the tab bar',
),
secondary: const Icon(MdiIcons.puzzleHeart),
value: generalSettings.showExtensionShortcut,
onChanged: (value) async {
await ref
.read(saveGeneralSettingsControllerProvider.notifier)
.save(
(currentSettings) => currentSettings.copyWith
.showExtensionShortcut(value),
);
},
),
Consumer(
builder: (context, ref, child) {
final size = ref.watch(