safety checks and message fix

This commit is contained in:
Henry Hiles 2026-01-30 18:42:11 +01:00
commit 985b6d52e0
No known key found for this signature in database
2 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,4 @@
import "dart:developer";
import "dart:io";
import "package:fast_immutable_collections/fast_immutable_collections.dart";
import "package:flutter/foundation.dart";
@ -43,6 +44,7 @@ void showError(Object error, [StackTrace? stackTrace]) {
if (error.toString().contains("Invalid image data")) return;
debugPrintStack(stackTrace: stackTrace, label: error.toString());
debugger();
if (navigatorKey.currentContext != null) {
Future.delayed(
Duration.zero,