From 296b11699a036bae8b67a6b1d2f94aeb83f167bb Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Tue, 5 May 2026 12:49:32 +0200 Subject: [PATCH 1/2] Fix PDF hang of 1.2.0 For https://github.com/opencloud-eu/ios/issues/47 --- .../Location Breadcrumbs/ClientLocationPopupButton.swift | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/OpenCloudAppShared/Client/View Controllers/Location Breadcrumbs/ClientLocationPopupButton.swift b/OpenCloudAppShared/Client/View Controllers/Location Breadcrumbs/ClientLocationPopupButton.swift index 3add3819..89bec975 100644 --- a/OpenCloudAppShared/Client/View Controllers/Location Breadcrumbs/ClientLocationPopupButton.swift +++ b/OpenCloudAppShared/Client/View Controllers/Location Breadcrumbs/ClientLocationPopupButton.swift @@ -59,10 +59,16 @@ open class ClientLocationPopupButton: ThemeCSSButton { updateButton() } + private var _didRefreshThemeAfterAttach = false + + // One-shot post-attach refresh, mirroring ThemeCSSButton._hasRegistered. open override func didMoveToWindow() { super.didMoveToWindow() - self.updateButton() + if window != nil, !_didRefreshThemeAfterAttach { + _didRefreshThemeAfterAttach = true + updateButton() + } } func updateButton() { From 23e1e69178c4072dc504822f58daf4962494e423 Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Tue, 5 May 2026 12:54:42 +0200 Subject: [PATCH 2/2] 1.2.1 --- OpenCloud.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenCloud.xcodeproj/project.pbxproj b/OpenCloud.xcodeproj/project.pbxproj index ab1b8a4f..617cb448 100644 --- a/OpenCloud.xcodeproj/project.pbxproj +++ b/OpenCloud.xcodeproj/project.pbxproj @@ -5293,7 +5293,7 @@ APP_BUILD_FLAGS = "$(inherited) DISABLE_APPSTORE_LICENSING"; APP_BUILD_FLAGS_SWIFT = "$(APP_BUILD_FLAGS)"; APP_PRODUCT_NAME = OpenCloud; - APP_SHORT_VERSION = 1.2.0; + APP_SHORT_VERSION = 1.2.1; APP_VERSION = 4; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; @@ -5364,7 +5364,7 @@ APP_BUILD_FLAGS = "$(inherited) DISABLE_APPSTORE_LICENSING"; APP_BUILD_FLAGS_SWIFT = "$(APP_BUILD_FLAGS)"; APP_PRODUCT_NAME = OpenCloud; - APP_SHORT_VERSION = 1.2.0; + APP_SHORT_VERSION = 1.2.1; APP_VERSION = 4; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES;