changes of niazi
This commit is contained in:
@@ -36,6 +36,22 @@ export function isSoroushgoldProject() {
|
||||
return getConfigApp('name') === 'soroushgold'
|
||||
}
|
||||
|
||||
export function isNiazitalaProject() {
|
||||
return getConfigApp('name') === 'niazitala'
|
||||
}
|
||||
|
||||
const DEFAULT_WALLET_DEPOSIT_QUICK_AMOUNTS_RIAL = [10_000_000, 50_000_000, 100_000_000] as const
|
||||
|
||||
/** niazitala: 5 / 10 / 15 میلیون تومان — ذخیره و نمایش به ریال */
|
||||
const NIAZITALA_WALLET_DEPOSIT_QUICK_AMOUNTS_RIAL = [50_000_000, 100_000_000, 150_000_000] as const
|
||||
|
||||
export function getWalletDepositQuickAmountsRial(): readonly number[] {
|
||||
if (isNiazitalaProject()) {
|
||||
return NIAZITALA_WALLET_DEPOSIT_QUICK_AMOUNTS_RIAL
|
||||
}
|
||||
return DEFAULT_WALLET_DEPOSIT_QUICK_AMOUNTS_RIAL
|
||||
}
|
||||
|
||||
export function getBoursecuTransactionsIcon() {
|
||||
return boursecuTransactionsIcon
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user