kopia lustrzana https://github.com/vitorpamplona/amethyst
Fixes stringResource cache
rodzic
2ef2f0d1a5
commit
5a60c3a595
|
@ -54,9 +54,9 @@ fun stringRes(
|
|||
String
|
||||
.format(
|
||||
LocalConfiguration.current.locales.get(0),
|
||||
resourceCache.get(id) ?: stringResource(id),
|
||||
resourceCache.get(id) ?: stringResource(id).also { resourceCache.put(id, it) },
|
||||
*args,
|
||||
).also { resourceCache.put(id, it) }
|
||||
)
|
||||
|
||||
fun stringRes(
|
||||
ctx: Context,
|
||||
|
|
Ładowanie…
Reference in New Issue