From acd361a9f11bd4e35772e2aaa45dcae31ad9ee8d Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Tue, 28 Dec 2021 13:05:57 +0800 Subject: [PATCH] Fix missing snackbar duration --- lib/widget/dir_picker.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/widget/dir_picker.dart b/lib/widget/dir_picker.dart index 6fc00840..8ccbfae2 100644 --- a/lib/widget/dir_picker.dart +++ b/lib/widget/dir_picker.dart @@ -300,8 +300,9 @@ class DirPickerState extends State { _picks.removeWhere((element) => identical(element, parent)); } catch (_) { SnackBarManager().showSnackBar(SnackBar( - content: - Text(L10n.global().rootPickerUnpickFailureNotification))); + content: Text(L10n.global().rootPickerUnpickFailureNotification), + duration: k.snackBarDurationNormal, + )); } } });