mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 14:02:48 +00:00
Snackbars cleared when opened flexiblebottomsheet
This commit is contained in:
parent
334b24e56e
commit
276e310ae5
7 changed files with 7 additions and 0 deletions
|
@ -141,6 +141,7 @@ class _AddedListState extends State<AddedList> {
|
|||
}
|
||||
|
||||
void openClientModal(Client client) {
|
||||
ScaffoldMessenger.of(context).clearSnackBars();
|
||||
showFlexibleBottomSheet(
|
||||
minHeight: 0.6,
|
||||
initHeight: 0.6,
|
||||
|
|
|
@ -61,6 +61,7 @@ class ClientsFab extends StatelessWidget {
|
|||
}
|
||||
|
||||
void openAddClient() {
|
||||
ScaffoldMessenger.of(context).clearSnackBars();
|
||||
showFlexibleBottomSheet(
|
||||
minHeight: 0.6,
|
||||
initHeight: 0.6,
|
||||
|
|
|
@ -64,6 +64,7 @@ class FiltersFab extends StatelessWidget {
|
|||
}
|
||||
|
||||
void openAddCustomRule() {
|
||||
ScaffoldMessenger.of(context).clearSnackBars();
|
||||
showFlexibleBottomSheet(
|
||||
minHeight: 0.7,
|
||||
initHeight: 0.7,
|
||||
|
|
|
@ -240,6 +240,7 @@ class _FiltersWidgetState extends State<FiltersWidget> with TickerProviderStateM
|
|||
}
|
||||
|
||||
void openBlockedServicesModal() {
|
||||
ScaffoldMessenger.of(context).clearSnackBars();
|
||||
Future.delayed(const Duration(seconds: 0), () {
|
||||
showFlexibleBottomSheet(
|
||||
minHeight: 0.6,
|
||||
|
|
|
@ -213,6 +213,7 @@ class _FiltersListState extends State<FiltersList> {
|
|||
}
|
||||
|
||||
void openDetailsModal(Filter filter) {
|
||||
ScaffoldMessenger.of(context).clearSnackBars();
|
||||
showFlexibleBottomSheet(
|
||||
minHeight: 0.6,
|
||||
initHeight: 0.6,
|
||||
|
|
|
@ -124,6 +124,7 @@ class LogTile extends StatelessWidget {
|
|||
}
|
||||
|
||||
void openLogDetailsModal() {
|
||||
ScaffoldMessenger.of(context).clearSnackBars();
|
||||
showFlexibleBottomSheet(
|
||||
minHeight: 0.6,
|
||||
initHeight: 0.6,
|
||||
|
|
|
@ -323,6 +323,7 @@ class _DhcpWidgetState extends State<DhcpWidget> {
|
|||
}
|
||||
|
||||
void selectInterface() {
|
||||
ScaffoldMessenger.of(context).clearSnackBars();
|
||||
Future.delayed(const Duration(seconds: 0), () {
|
||||
showFlexibleBottomSheet(
|
||||
minHeight: 0.6,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue