Fixed most of the warnings

This commit is contained in:
Juan Gilsanz Polo 2024-09-11 18:13:26 +02:00
parent 715ca0ab3f
commit f7c3ba0374
87 changed files with 252 additions and 250 deletions

View file

@ -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