Make boursecu branch boursecu-only and simplify app loading.

Remove multi-tenant branches and default views, show logo-only boot and splash screens, and polish boursecu transactions tab styling.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-06 12:35:42 +02:00
co-authored by Cursor
parent 2affe61dd3
commit 59cceaf581
76 changed files with 211 additions and 2932 deletions
+2 -9
View File
@@ -76,14 +76,7 @@ export function resolveBoursecuAssetMetalTotals(
return ordered
}
export function resolveMetalAssetsDisplayLabel(
metal: WalletMetalTotal,
isBoursecuLayout: boolean
): string {
if (!isBoursecuLayout) {
return metal.label
}
export function resolveMetalAssetsDisplayLabel(metal: WalletMetalTotal): string {
switch (metal.metal_id) {
case METAL_COPPER:
return 'دارایی مس'
@@ -121,7 +114,7 @@ export function formatBoursecuMetalModalText(metal: WalletMetalTotal): string {
case METAL_SILVER:
return 'دارایی نقره = موجودی نقره'
default:
return `${resolveMetalAssetsDisplayLabel(metal, true)} = موجودی ${metal.label}`
return `${resolveMetalAssetsDisplayLabel(metal)} = موجودی ${metal.label}`
}
}