improve menu anchor show/hide controls

This commit is contained in:
Fabian Freund
2026-03-12 08:51:16 +01:00
parent 573bddff7e
commit a4cb08a12f
5 changed files with 74 additions and 12 deletions
@@ -44,7 +44,11 @@ class FingerprintSettingsScreen extends HookConsumerWidget {
builder: (context, controller, child) {
return IconButton(
onPressed: () {
controller.open();
if (controller.isOpen) {
controller.close();
} else {
controller.open();
}
},
icon: const Icon(Icons.more_vert),
);