mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 22:12:53 +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) {
|
void openClientModal(Client client) {
|
||||||
|
ScaffoldMessenger.of(context).clearSnackBars();
|
||||||
showFlexibleBottomSheet(
|
showFlexibleBottomSheet(
|
||||||
minHeight: 0.6,
|
minHeight: 0.6,
|
||||||
initHeight: 0.6,
|
initHeight: 0.6,
|
||||||
|
|
|
@ -61,6 +61,7 @@ class ClientsFab extends StatelessWidget {
|
||||||
}
|
}
|
||||||
|
|
||||||
void openAddClient() {
|
void openAddClient() {
|
||||||
|
ScaffoldMessenger.of(context).clearSnackBars();
|
||||||
showFlexibleBottomSheet(
|
showFlexibleBottomSheet(
|
||||||
minHeight: 0.6,
|
minHeight: 0.6,
|
||||||
initHeight: 0.6,
|
initHeight: 0.6,
|
||||||
|
|
|
@ -64,6 +64,7 @@ class FiltersFab extends StatelessWidget {
|
||||||
}
|
}
|
||||||
|
|
||||||
void openAddCustomRule() {
|
void openAddCustomRule() {
|
||||||
|
ScaffoldMessenger.of(context).clearSnackBars();
|
||||||
showFlexibleBottomSheet(
|
showFlexibleBottomSheet(
|
||||||
minHeight: 0.7,
|
minHeight: 0.7,
|
||||||
initHeight: 0.7,
|
initHeight: 0.7,
|
||||||
|
|
|
@ -240,6 +240,7 @@ class _FiltersWidgetState extends State<FiltersWidget> with TickerProviderStateM
|
||||||
}
|
}
|
||||||
|
|
||||||
void openBlockedServicesModal() {
|
void openBlockedServicesModal() {
|
||||||
|
ScaffoldMessenger.of(context).clearSnackBars();
|
||||||
Future.delayed(const Duration(seconds: 0), () {
|
Future.delayed(const Duration(seconds: 0), () {
|
||||||
showFlexibleBottomSheet(
|
showFlexibleBottomSheet(
|
||||||
minHeight: 0.6,
|
minHeight: 0.6,
|
||||||
|
|
|
@ -213,6 +213,7 @@ class _FiltersListState extends State<FiltersList> {
|
||||||
}
|
}
|
||||||
|
|
||||||
void openDetailsModal(Filter filter) {
|
void openDetailsModal(Filter filter) {
|
||||||
|
ScaffoldMessenger.of(context).clearSnackBars();
|
||||||
showFlexibleBottomSheet(
|
showFlexibleBottomSheet(
|
||||||
minHeight: 0.6,
|
minHeight: 0.6,
|
||||||
initHeight: 0.6,
|
initHeight: 0.6,
|
||||||
|
|
|
@ -124,6 +124,7 @@ class LogTile extends StatelessWidget {
|
||||||
}
|
}
|
||||||
|
|
||||||
void openLogDetailsModal() {
|
void openLogDetailsModal() {
|
||||||
|
ScaffoldMessenger.of(context).clearSnackBars();
|
||||||
showFlexibleBottomSheet(
|
showFlexibleBottomSheet(
|
||||||
minHeight: 0.6,
|
minHeight: 0.6,
|
||||||
initHeight: 0.6,
|
initHeight: 0.6,
|
||||||
|
|
|
@ -323,6 +323,7 @@ class _DhcpWidgetState extends State<DhcpWidget> {
|
||||||
}
|
}
|
||||||
|
|
||||||
void selectInterface() {
|
void selectInterface() {
|
||||||
|
ScaffoldMessenger.of(context).clearSnackBars();
|
||||||
Future.delayed(const Duration(seconds: 0), () {
|
Future.delayed(const Duration(seconds: 0), () {
|
||||||
showFlexibleBottomSheet(
|
showFlexibleBottomSheet(
|
||||||
minHeight: 0.6,
|
minHeight: 0.6,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue