mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-15 14:32:48 +00:00
Fixed most of the warnings
This commit is contained in:
parent
715ca0ab3f
commit
f7c3ba0374
87 changed files with 252 additions and 250 deletions
|
@ -95,14 +95,14 @@ class _SearchClientsState extends State<SearchClients> {
|
|||
processModal.close();
|
||||
|
||||
if (result == true) {
|
||||
showSnacbkar(
|
||||
showSnackbar(
|
||||
appConfigProvider: appConfigProvider,
|
||||
label: AppLocalizations.of(context)!.clientDeletedSuccessfully,
|
||||
color: Colors.green
|
||||
);
|
||||
}
|
||||
else {
|
||||
showSnacbkar(
|
||||
showSnackbar(
|
||||
appConfigProvider: appConfigProvider,
|
||||
label: AppLocalizations.of(context)!.clientNotDeleted,
|
||||
color: Colors.red
|
||||
|
@ -119,14 +119,14 @@ class _SearchClientsState extends State<SearchClients> {
|
|||
processModal.close();
|
||||
|
||||
if (result == true) {
|
||||
showSnacbkar(
|
||||
showSnackbar(
|
||||
appConfigProvider: appConfigProvider,
|
||||
label: AppLocalizations.of(context)!.clientUpdatedSuccessfully,
|
||||
color: Colors.green
|
||||
);
|
||||
}
|
||||
else {
|
||||
showSnacbkar(
|
||||
showSnackbar(
|
||||
appConfigProvider: appConfigProvider,
|
||||
label: AppLocalizations.of(context)!.clientNotUpdated,
|
||||
color: Colors.red
|
||||
|
@ -205,7 +205,7 @@ class _SearchClientsState extends State<SearchClients> {
|
|||
height: 1,
|
||||
decoration: BoxDecoration(
|
||||
color: showDivider == true
|
||||
? Theme.of(context).colorScheme.surfaceVariant
|
||||
? Theme.of(context).colorScheme.surfaceContainerHighest
|
||||
: Colors.transparent
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue