avoid overflow of suggestions

This commit is contained in:
Fabian Freund
2024-06-07 07:46:40 +02:00
parent fa5b65eec7
commit 4ad80b4efb
5 changed files with 62 additions and 4 deletions
@@ -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;