Updated on 2026-08-14
This commit is contained in:
parent
cc037ed347
commit
56b509927c
8 changed files with 35 additions and 10 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue