Skip to content

Commit 6932c5b

Browse files
committed
Merge branch 'main' of github.com:mac-cain13/R.swift
2 parents dee1bf2 + c413990 commit 6932c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/RswiftResources/Integrations/StringResource+Integrations.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ extension String {
1414
case let .hosting(bundle):
1515
// With fallback to developmentValue
1616
let format = NSLocalizedString(key.description, tableName: tableName, bundle: bundle, value: developmentValue ?? "", comment: "")
17-
self = String(format: format, locale: overrideLocale, arguments: arguments)
17+
self = String(format: format, locale: overrideLocale ?? Locale.current, arguments: arguments)
1818

1919
case let .selected(bundle, locale):
2020
// Don't use developmentValue with selected bundle/locale

0 commit comments

Comments
 (0)