Skip to content

Commit

Permalink
Fix title on amount screen
Browse files Browse the repository at this point in the history
  • Loading branch information
gemcoder21 committed Sep 12, 2024
1 parent 9e0d05a commit d6aaa21
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Gem/Transfer/ViewsModels/AmountViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,13 @@ class AmounViewModel: ObservableObject {
}

var title: String {
return Localized.Transfer.Send.title
switch type {
case .transfer: Localized.Transfer.Send.title
case .stake: Localized.Transfer.Stake.title
case .unstake: Localized.Transfer.Unstake.title
case .redelegate: Localized.Transfer.Redelegate.title
case .withdraw: Localized.Transfer.Withdraw.title
}
}

var assetSymbol: String {
Expand Down

0 comments on commit d6aaa21

Please sign in to comment.