From 217bcff5a72e16b78bf74aaede388834e0c0ad9c Mon Sep 17 00:00:00 2001 From: Abhishek Date: Sat, 6 Feb 2021 16:02:41 -0600 Subject: [PATCH] Update iVersion.m --- Clocker/Dependencies/iVersion/iVersion.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Clocker/Dependencies/iVersion/iVersion.m b/Clocker/Dependencies/iVersion/iVersion.m index bb998a0..eab6a41 100755 --- a/Clocker/Dependencies/iVersion/iVersion.m +++ b/Clocker/Dependencies/iVersion/iVersion.m @@ -147,7 +147,7 @@ static NSString *mostRecentVersionInDict(NSDictionary *dictionary) bundle = [NSBundle bundleWithPath:bundlePath] ?: [NSBundle mainBundle]; } defaultString = [bundle localizedStringForKey:key value:defaultString table:nil]; - return [[NSBundle mainBundle] localizedStringForKey:key value:defaultString table:nil]; + return defaultString ?: [[NSBundle mainBundle] localizedStringForKey:key value:defaultString table:nil]; } - (iVersion *)init