Removed thrown error for testing

This commit is contained in:
Anton Stubenbord
2022-11-14 00:09:46 +01:00
parent 511f8ca3f4
commit f0e587db48

View File

@@ -77,17 +77,6 @@ class _DocumentsPageState extends State<DocumentsPage> {
} on ErrorMessage catch (error, stackTrace) { } on ErrorMessage catch (error, stackTrace) {
showError(context, error, stackTrace); showError(context, error, stackTrace);
} }
Future.delayed(const Duration(seconds: 1), () {
try {
throw ErrorMessage(ErrorCode.tagLoadFailed);
} on ErrorMessage catch (error, stackTrace) {
showError(
context,
error,
stackTrace,
);
}
});
} }
void _onSelected(DocumentModel model) { void _onSelected(DocumentModel model) {