fix: wrap _saveMints in try-catch inside async void method
This commit is contained in:
@@ -448,7 +448,11 @@ class WalletProvider extends ChangeNotifier {
|
||||
}
|
||||
|
||||
if (changed) {
|
||||
await _saveMints();
|
||||
try {
|
||||
await _saveMints();
|
||||
} catch (e) {
|
||||
debugPrint('Error guardando mints actualizados: $e');
|
||||
}
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user