Updated on 2026-08-14
This commit is contained in:
parent
3dc4036e3d
commit
c404846b0d
3 changed files with 9 additions and 5 deletions
|
|
@ -86,7 +86,9 @@ internal class StakingInfoNotificationsFactory(
|
|||
resourceReference(R.string.staking_restake) to
|
||||
resourceReference(R.string.staking_notification_restake_rewards_text)
|
||||
}
|
||||
StakingActionType.WITHDRAW -> {
|
||||
StakingActionType.CLAIM_UNSTAKED,
|
||||
StakingActionType.WITHDRAW,
|
||||
-> {
|
||||
resourceReference(R.string.staking_withdraw) to
|
||||
resourceReference(R.string.staking_notification_withdraw_text)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,9 +16,10 @@ import kotlinx.collections.immutable.toPersistentList
|
|||
internal fun StakingActionType?.getPendingActionTitle(): TextReference = when (this) {
|
||||
StakingActionType.CLAIM_REWARDS -> resourceReference(R.string.common_claim_rewards)
|
||||
StakingActionType.RESTAKE_REWARDS -> resourceReference(R.string.staking_restake_rewards)
|
||||
StakingActionType.WITHDRAW -> resourceReference(R.string.staking_withdraw)
|
||||
StakingActionType.CLAIM_UNSTAKED,
|
||||
StakingActionType.WITHDRAW,
|
||||
-> resourceReference(R.string.staking_withdraw)
|
||||
StakingActionType.RESTAKE -> resourceReference(R.string.staking_restake)
|
||||
StakingActionType.CLAIM_UNSTAKED -> resourceReference(R.string.staking_claim_unstaked)
|
||||
StakingActionType.UNLOCK_LOCKED -> resourceReference(R.string.staking_unlocked_locked)
|
||||
StakingActionType.STAKE_LOCKED -> resourceReference(R.string.staking_stake_locked)
|
||||
StakingActionType.VOTE -> resourceReference(R.string.staking_vote)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue