|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
part of '../neon_notes.dart'; |
|
|
|
|
|
|
|
|
|
void handleNotesException(final BuildContext context, final Object error) { |
|
|
|
|
if (error is NextcloudApiException && error.statusCode == 412) { |
|
|
|
|
if (error is DynamiteApiException && error.statusCode == 412) { |
|
|
|
|
NeonException.showSnackbar(context, AppLocalizations.of(context).errorChangedOnServer); |
|
|
|
|
} else { |
|
|
|
|
NeonException.showSnackbar(context, error); |
|
|
|
|