mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-06-11 00:49:36 +00:00
Bug fixes
This commit is contained in:
parent
51b8a6b610
commit
a666d109d9
8 changed files with 54 additions and 20 deletions
|
@ -33,6 +33,8 @@ class AddFiltersButton extends StatelessWidget {
|
|||
final width = MediaQuery.of(context).size.width;
|
||||
|
||||
void confirmAddRule(String rule) async {
|
||||
if (!context.mounted) return;
|
||||
|
||||
ProcessModal processModal = ProcessModal();
|
||||
processModal.open(AppLocalizations.of(context)!.addingRule);
|
||||
|
||||
|
@ -58,6 +60,8 @@ class AddFiltersButton extends StatelessWidget {
|
|||
}
|
||||
|
||||
void confirmEditCustomRules(List<String> rules) async {
|
||||
if (!context.mounted) return;
|
||||
|
||||
ProcessModal processModal = ProcessModal();
|
||||
processModal.open(AppLocalizations.of(context)!.savingCustomRules);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue