An advanced Ethereum/EVM mobile wallet
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
alpha-wallet-ios/AlphaWallet/Redeem/ViewModels/RedeemTokensQuantitySelecti...

56 lines
1.1 KiB

//
// QuantitySelectionViewModel.swift
// Alpha-Wallet
//
// Created by Oguzhan Gungor on 3/4/18.
// Copyright © 2018 Alpha-Wallet. All rights reserved.
//
import Foundation
import UIKit
struct RedeemTokensQuantitySelectionViewModel {
var token: TokenObject
var TokenHolder: TokenHolder
var headerTitle: String {
return R.string.localizable.aWalletTokenTokenRedeemSelectQuantityTitle()
}
var maxValue: Int {
return TokenHolder.Tokens.count
}
var backgroundColor: UIColor {
return Colors.appBackground
}
var buttonTitleColor: UIColor {
return Colors.appWhite
}
var buttonBackgroundColor: UIColor {
return Colors.appHighlightGreen
}
var buttonFont: UIFont {
return Fonts.regular(size: 20)!
}
var subtitleColor: UIColor {
return Colors.appGrayLabelColor
}
var subtitleFont: UIFont {
return Fonts.regular(size: 10)!
}
var stepperBorderColor: UIColor {
return Colors.appBackground
}
var subtitleText: String {
return R.string.localizable.aWalletTokenTokenRedeemQuantityTitle()
}
}