avoid overflow of suggestions

This commit is contained in:
Fabian Freund committed 2024-06-07 07:46:40 +02:00
1 parent fa5b65eec7
commit 4ad80b4efb
5 files changed
+62 -4

No files matched your search

@@ -357,6 +357,10 @@ class KagiScreen extends HookConsumerWidget {
if (notification.extent <= 0.1) {
ref.read(bottomSheetProvider.notifier).dismiss();
return true;
} else {
ref
.read(bottomSheetExtendProvider.notifier)
.add(notification.extent);
}
return false;