Updated on 2026-08-14
This commit is contained in:
parent
9d9df50865
commit
ca11e49425
4 changed files with 17 additions and 21 deletions
|
|
@ -39,7 +39,7 @@ fun Learn2earnStoriesScreen(onLearnClick: () -> Unit, modifier: Modifier = Modif
|
|||
modifier = Modifier
|
||||
.padding(horizontal = TangemTheme.dimens.size40)
|
||||
.weight(weight = 1f),
|
||||
headerText = stringResource(id = R.string.story_learn_title),
|
||||
headerText = stringResource(id = R.string.common_learn_and_earn),
|
||||
bodyText = stringResource(id = R.string.story_learn_description),
|
||||
)
|
||||
Image(
|
||||
|
|
|
|||
|
|
@ -37,12 +37,12 @@ data class MainScreenState(
|
|||
sealed class Description(val title: TextReference, val subtitle: TextReference) {
|
||||
|
||||
class Learn(award: Int) : Description(
|
||||
TextReference.Res(R.string.main_learn_title),
|
||||
TextReference.Res(R.string.common_learn_and_earn),
|
||||
TextReference.PluralRes(R.plurals.main_learn_subtitle, award, WrappedList(listOf(award))),
|
||||
)
|
||||
|
||||
object GetBonus : Description(
|
||||
TextReference.Res(R.string.main_get_bonus_title),
|
||||
TextReference.Res(R.string.common_learn_and_earn),
|
||||
TextReference.Res(R.string.main_get_bonus_subtitle),
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue