Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit beb22c6

Browse files
authored
fix crash showing localized alert for partial migrations (#2585)
1 parent 51fb5fb commit beb22c6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Classes/Bookmark/BookmarkViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ BookmarkHeaderSectionControllerDelegate {
100100

101101
let messageFormat: String
102102
if errors == 1 {
103-
messageFormat = NSLocalizedString("%@ bookmark could not be migrated due to OAuth restrictions on one or more repos. We're sorry for any inconvenience!", comment: "")
103+
messageFormat = NSLocalizedString("%i bookmark could not be migrated due to OAuth restrictions on one or more repos. We're sorry for any inconvenience!", comment: "")
104104
} else {
105-
messageFormat = NSLocalizedString("%@ bookmarks could not be migrated due to OAuth restrictions on one or more repos. We're sorry for any inconvenience!", comment: "")
105+
messageFormat = NSLocalizedString("%i bookmarks could not be migrated due to OAuth restrictions on one or more repos. We're sorry for any inconvenience!", comment: "")
106106
}
107107

108108
let alert = UIAlertController(

Freetime.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3683,7 +3683,7 @@
36833683
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
36843684
GCC_WARN_UNUSED_FUNCTION = YES;
36853685
GCC_WARN_UNUSED_VARIABLE = YES;
3686-
GLOBAL_APP_VERSION = 1.27.0;
3686+
GLOBAL_APP_VERSION = 1.27.1;
36873687
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
36883688
MTL_ENABLE_DEBUG_INFO = YES;
36893689
ONLY_ACTIVE_ARCH = YES;
@@ -3738,7 +3738,7 @@
37383738
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
37393739
GCC_WARN_UNUSED_FUNCTION = YES;
37403740
GCC_WARN_UNUSED_VARIABLE = YES;
3741-
GLOBAL_APP_VERSION = 1.27.0;
3741+
GLOBAL_APP_VERSION = 1.27.1;
37423742
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
37433743
MTL_ENABLE_DEBUG_INFO = NO;
37443744
SDKROOT = iphoneos;
@@ -3910,7 +3910,7 @@
39103910
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
39113911
GCC_WARN_UNUSED_FUNCTION = YES;
39123912
GCC_WARN_UNUSED_VARIABLE = YES;
3913-
GLOBAL_APP_VERSION = 1.27.0;
3913+
GLOBAL_APP_VERSION = 1.27.1;
39143914
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
39153915
MTL_ENABLE_DEBUG_INFO = NO;
39163916
SDKROOT = iphoneos;

0 commit comments

Comments
 (0)