From ec001ee7f2c5f649915154236412895f8c8b4eba Mon Sep 17 00:00:00 2001 From: Marino Faggiana Date: Thu, 27 Jun 2024 11:46:53 +0200 Subject: [PATCH] fix Signed-off-by: Marino Faggiana --- Nextcloud.xcodeproj/project.pbxproj | 4 ++-- iOSClient/Settings/NCKeychain.swift | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Nextcloud.xcodeproj/project.pbxproj b/Nextcloud.xcodeproj/project.pbxproj index ba23dbbb50..7e006a0306 100644 --- a/Nextcloud.xcodeproj/project.pbxproj +++ b/Nextcloud.xcodeproj/project.pbxproj @@ -5336,7 +5336,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 6; + CURRENT_PROJECT_VERSION = 7; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = NKUJUXUJ3B; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -5402,7 +5402,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 6; + CURRENT_PROJECT_VERSION = 7; DEVELOPMENT_TEAM = NKUJUXUJ3B; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; diff --git a/iOSClient/Settings/NCKeychain.swift b/iOSClient/Settings/NCKeychain.swift index 9572c6be6e..0c3106f7a7 100644 --- a/iOSClient/Settings/NCKeychain.swift +++ b/iOSClient/Settings/NCKeychain.swift @@ -384,7 +384,7 @@ import KeychainAccess if let value = try? keychain.get("fileNameType"), let result = Bool(value) { return result } - return true + return false } set { keychain["fileNameType"] = String(newValue) @@ -396,7 +396,7 @@ import KeychainAccess if let value = try? keychain.get("fileNameMask") { return value } - return NCGlobal.shared.mediaLayoutRatio + return "" } set { keychain["fileNameMask"] = String(newValue)