changes of niazi

This commit is contained in:
2026-07-05 11:24:40 +02:00
parent 1158694896
commit dde7164050
6 changed files with 46 additions and 23 deletions
+16
View File
@@ -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
}