From 84aad2efbf367001b0a515ecce27b6f36f466b04 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sun, 22 Nov 2026 10:45:27 -0500 Subject: [PATCH] ignore errors caused by flutter bug --- lib/main.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index 97650d0..299e95a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -45,7 +45,11 @@ New Value: ${newValue is AsyncData ? newValue.value : newValue} } void showError(Object error, [StackTrace? stackTrace]) { - if (error.toString().contains("'_nextFrame != null': is not true.")) { + // Harmless Flutter race in animated images (the assert in debug, a null check in release) + if (error.toString().contains("'_nextFrame != null': is not true.") || + stackTrace.toString().contains( + "MultiFrameImageStreamCompleter._handleAppFrame", + )) { return; }