mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-06-07 15:17:45 +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
|
@ -157,7 +157,7 @@ class _AddServerModalState extends State<AddServerModal> {
|
|||
if (result != AuthStatus.success) {
|
||||
cancelConnecting();
|
||||
if (mounted) {
|
||||
showSnacbkar(
|
||||
showSnackbar(
|
||||
appConfigProvider: appConfigProvider,
|
||||
label: getErrorMessage(result),
|
||||
color: Colors.red
|
||||
|
@ -206,7 +206,7 @@ class _AddServerModalState extends State<AddServerModal> {
|
|||
if (serverCreated != null) {
|
||||
if (mounted) setState(() => isConnecting = false);
|
||||
if (mounted) {
|
||||
showSnacbkar(
|
||||
showSnackbar(
|
||||
appConfigProvider: appConfigProvider,
|
||||
label: AppLocalizations.of(context)!.connectionNotCreated,
|
||||
color: Colors.red
|
||||
|
@ -256,7 +256,7 @@ class _AddServerModalState extends State<AddServerModal> {
|
|||
if (result != AuthStatus.success) {
|
||||
cancelConnecting();
|
||||
if (mounted) {
|
||||
showSnacbkar(
|
||||
showSnackbar(
|
||||
appConfigProvider: appConfigProvider,
|
||||
label: getErrorMessage(result),
|
||||
color: Colors.red
|
||||
|
@ -306,7 +306,7 @@ class _AddServerModalState extends State<AddServerModal> {
|
|||
)
|
||||
);
|
||||
if (mounted) {
|
||||
showSnacbkar(
|
||||
showSnackbar(
|
||||
appConfigProvider: appConfigProvider,
|
||||
label: AppLocalizations.of(context)!.connectionNotCreated,
|
||||
color: Colors.red
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue