Fix missing snackbar duration

This commit is contained in:
Ming Ming 2021-12-28 13:05:57 +08:00
parent b2684b507f
commit acd361a9f1

View file

@ -300,8 +300,9 @@ class DirPickerState extends State<DirPicker> {
_picks.removeWhere((element) => identical(element, parent));
} catch (_) {
SnackBarManager().showSnackBar(SnackBar(
content:
Text(L10n.global().rootPickerUnpickFailureNotification)));
content: Text(L10n.global().rootPickerUnpickFailureNotification),
duration: k.snackBarDurationNormal,
));
}
}
});