Commit fccf77d
committed
Redesign home screen (Revolut-inspired) + harden database layer
Home screen redesign:
- Large centered balance with fiat primary display (USD when price available)
- FAIR amount as subtitle, 24h change pill (green/red)
- Wallet name header with tap-to-switch + sync dot indicator
- Quick action buttons row (Send, Receive, Contacts, Masternode)
- Activity feed with 10 recent transactions (up from 5)
- Cleaner dividers between sections, no more card-in-card nesting
- Empty state with icon placeholder
TransactionItem redesign:
- MaterialCommunityIcons instead of Unicode arrows
- Color-coded icon backgrounds per transaction type
- PENDING badge for unconfirmed transactions
- Cleaner time formatting (shows date after 7 days)
- Removed confirmation count (shown in detail screen instead)
Database hardening:
- Single SQL batch for schema init (was 16 sequential awaits)
- PRAGMA synchronous=NORMAL for WAL performance
- UTXORow.value is now TEXT (was number) to preserve bigint precision
- insertHeadersBatch() with prepared statement for SPV sync performance
- getHeaderByHash() for SPV chain validation
- updateTransactionConfirmation() for confirmation updates
- getUTXOCount() for stats
- withTransaction() for atomic multi-write operations
- Compound index on utxos(spent, address) for common queries
- searchContacts escapes LIKE wildcards in user input
- insertUTXO accepts bigint or string for value parameter1 parent 5206839 commit fccf77d
27 files changed
Lines changed: 565 additions & 331 deletions
File tree
- .github/workflows
- app
- (tabs)
- onboarding
- transaction
- plugins
- src
- core
- p2p
- storage
- ui/components
- wallet
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 51 | + | |
76 | 52 | | |
77 | 53 | | |
78 | 54 | | |
| |||
84 | 60 | | |
85 | 61 | | |
86 | 62 | | |
87 | | - | |
88 | | - | |
89 | 63 | | |
90 | 64 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 65 | + | |
102 | 66 | | |
103 | | - | |
104 | 67 | | |
105 | 68 | | |
106 | | - | |
107 | 69 | | |
108 | 70 | | |
109 | 71 | | |
110 | 72 | | |
111 | | - | |
| 73 | + | |
112 | 74 | | |
113 | 75 | | |
114 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 27 | + | |
32 | 28 | | |
33 | 29 | | |
34 | 30 | | |
| |||
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 42 | + | |
| 43 | + | |
52 | 44 | | |
53 | 45 | | |
54 | 46 | | |
| |||
0 commit comments