Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-17 14:26:57 +05:00
parent cc037ed347
commit 56b509927c
8 changed files with 35 additions and 10 deletions

View file

@ -68,6 +68,9 @@ fun ScenarioUnavailabilityReason.getUnavailabilityReasonText(): TextReference {
-> {
resourceReference(id = R.string.token_button_unavailability_reason_loading)
}
ScenarioUnavailabilityReason.YieldSupplyApprovalRequired -> resourceReference(
R.string.token_button_unavailability_reason_yield_supply_approval,
)
ScenarioUnavailabilityReason.None -> {
throw IllegalArgumentException("The unavailability reason must be other than None")
}