From 0197fb35fe8c250a9b03bd83cdcd2f7e905d4a2e Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 21 Dec 2025 03:14:08 +0100 Subject: [PATCH] fix: clear canvas error banner on load --- apps/ios/Sources/Screen/ScreenController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/ios/Sources/Screen/ScreenController.swift b/apps/ios/Sources/Screen/ScreenController.swift index 4b0cca50c..e808bab9a 100644 --- a/apps/ios/Sources/Screen/ScreenController.swift +++ b/apps/ios/Sources/Screen/ScreenController.swift @@ -318,6 +318,10 @@ private final class ScreenNavigationDelegate: NSObject, WKNavigationDelegate { self.controller?.errorText = error.localizedDescription } + func webView(_: WKWebView, didFinish _: WKNavigation?) { + self.controller?.errorText = nil + } + func webView(_: WKWebView, didFail _: WKNavigation?, withError error: any Error) { self.controller?.errorText = error.localizedDescription }