Updated on 2026-08-14
This commit is contained in:
parent
c62e02ae91
commit
22e8551b9e
1 changed files with 1 additions and 7 deletions
|
|
@ -68,13 +68,7 @@ sealed interface TextReference {
|
|||
@ReadOnlyComposable
|
||||
fun TextReference.resolveReference(): String {
|
||||
return when (this) {
|
||||
is TextReference.Res -> {
|
||||
// if (source.formatArgs) {
|
||||
// stringResource(source.id)
|
||||
// } else {
|
||||
stringResource(this.id, *this.formatArgs.toTypedArray())
|
||||
// }
|
||||
}
|
||||
is TextReference.Res -> stringResource(this.id, *this.formatArgs.toTypedArray())
|
||||
is TextReference.Str -> this.value
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue