Add transfer tracking and secure admin access

This commit is contained in:
2026-07-26 11:57:57 +08:00
parent 0738953e6d
commit 7df25edd96
111 changed files with 6379 additions and 1934 deletions
+4 -4
View File
@@ -174,7 +174,7 @@ class _ParseSheetState extends State<_ParseSheet> {
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.w700,
color: d.type == 'income'
color: d.isIncome
? AppTheme.primary
: AppTheme.red,
),
@@ -189,18 +189,18 @@ class _ParseSheetState extends State<_ParseSheet> {
),
decoration: BoxDecoration(
color:
(d.type == 'income'
(d.isIncome
? AppTheme.primary
: AppTheme.red)
.withValues(alpha: 0.1),
borderRadius: BorderRadius.circular(5),
),
child: Text(
d.type == 'income' ? '收入' : '支出',
d.typeLabel,
style: TextStyle(
fontSize: 9.5,
fontWeight: FontWeight.w700,
color: d.type == 'income'
color: d.isIncome
? AppTheme.primary
: AppTheme.red,
),