Bug fixes

This commit is contained in:
Juan Gilsanz Polo 2023-05-12 23:11:38 +02:00
parent e795050a95
commit ad27d0c24e
14 changed files with 69 additions and 43 deletions

View file

@ -137,11 +137,10 @@ class _TopItemsScreenState extends State<TopItemsScreen> {
}
else {
appConfigProvider.addLog(result['log']);
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text(AppLocalizations.of(context)!.serverStatusNotRefreshed),
backgroundColor: Colors.red,
)
showSnacbkar(
appConfigProvider: appConfigProvider,
label: AppLocalizations.of(context)!.serverStatusNotRefreshed,
color: Colors.red
);
}
},