Skip to content

Commit

Permalink
Update default bundle name if value is nil (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
AfrazCodes committed Feb 23, 2021
1 parent 0302f97 commit 30003d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/LocalizedStringKit/LocalizedStringKit.m
Expand Up @@ -64,7 +64,7 @@ + (NSString *)localizeWithValue:(NSString *_Nonnull)value comment:(NSString *_No
if (bundleName == nil)
{
// Default to primary strings bundle
bundleName = @"LocalizedStringKit.bundle";
bundleName = LSKPrimaryBundleName;
}

NSBundle *bundle = [bundleMap objectForKey:bundleName];
Expand Down

0 comments on commit 30003d4

Please sign in to comment.