From 9e5a3c405ec4170e10c158936306a135fc062829 Mon Sep 17 00:00:00 2001 From: Marino Faggiana Date: Tue, 10 Mar 2026 15:04:18 +0100 Subject: [PATCH 1/2] Update SceneDelegate.swift --- iOSClient/SceneDelegate.swift | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/iOSClient/SceneDelegate.swift b/iOSClient/SceneDelegate.swift index ffb9996caf..f2aa530c73 100644 --- a/iOSClient/SceneDelegate.swift +++ b/iOSClient/SceneDelegate.swift @@ -220,6 +220,20 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { func sceneDidBecomeActive(_ scene: UIScene) { hidePrivacyProtectionWindow() + + if !NextcloudKit.shared.isNetworkReachable(), + let windowScenee = SceneManager.shared.getWindow(scene: scene)?.windowScene { + Task { + await showBanner(windowScene: windowScenee, + title: "_info_", + subtitle: "_network_not_available_", + textColor: .label, + image: "wifi.exclamationmark.circle", + imageAnimation: .bounce, + imageColor: .label, + backgroundColor: UIColor.lightGray.withAlphaComponent(0.75)) + } + } } func sceneWillResignActive(_ scene: UIScene) { From f0ec57006c75dd3981cd6d038559d548b3938ff4 Mon Sep 17 00:00:00 2001 From: Marino Faggiana Date: Tue, 10 Mar 2026 15:05:09 +0100 Subject: [PATCH 2/2] Update project.pbxproj --- Nextcloud.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Nextcloud.xcodeproj/project.pbxproj b/Nextcloud.xcodeproj/project.pbxproj index e586b7f388..9e9a72cbf6 100644 --- a/Nextcloud.xcodeproj/project.pbxproj +++ b/Nextcloud.xcodeproj/project.pbxproj @@ -5759,7 +5759,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 3; + CURRENT_PROJECT_VERSION = 4; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = NKUJUXUJ3B; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -5825,7 +5825,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 3; + CURRENT_PROJECT_VERSION = 4; DEVELOPMENT_TEAM = NKUJUXUJ3B; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES;