Skip to content

Commit 2867510

Browse files
committed
Fix resource fallback call style
1 parent 6aa4d79 commit 2867510

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

core/core-resource/src/commonMain/kotlin/com/velord/core/resource/StringResource.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ fun stringResource(
1919
resource = resource,
2020
formatArgs = formatArgs,
2121
)
22-
} ?: format(
23-
template = defaultLocalizationStringRoster[resource.key] ?: resource.key,
24-
formatArgs = formatArgs,
25-
)
22+
} ?: format(template = defaultLocalizationStringRoster[resource.key] ?: resource.key, formatArgs = formatArgs)
2623

2724
fun getString(
2825
localization: LocalizationState,

0 commit comments

Comments
 (0)