mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-26 04:48:51 +00:00
Better handle errors
This commit is contained in:
parent
3cf9ee39d0
commit
ae9491e198
@ -120,11 +120,12 @@ class _CustomEmojiesAccountBodyState extends State<_CustomEmojiesAccountBody> {
|
||||
return;
|
||||
|
||||
await SettingsHelper.deleteCustomEmoji(u.id);
|
||||
|
||||
_key.currentState.refresh();
|
||||
} catch (e, stack) {
|
||||
print("Could not delete custom emoji! $e\n$stack");
|
||||
showSimpleSnack(context, tr("Could not delete custom emoji!"));
|
||||
}
|
||||
|
||||
_key.currentState.refresh();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user