This commit is contained in:
2026-03-22 01:05:01 +03:00
parent 8972ebdfd5
commit 70c6568a1b
5 changed files with 29 additions and 10 deletions
@@ -46,7 +46,7 @@ class SearchBar extends StatelessWidget {
enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.circular(12),
borderSide: BorderSide(
color: isDark ? Colors.transparent : const Color(0xFFCCCCDD),
color: isDark ? Colors.white.withOpacity(0.08) : const Color(0xFFCCCCDD),
width: 1,
),
),
@@ -64,7 +64,10 @@ class SummaryCard extends ConsumerWidget {
Border? _themeBorder(BuildContext context) {
final isDark = Theme.of(context).brightness == Brightness.dark;
return isDark ? null : Border.all(color: const Color(0xFFDDDDEE), width: 1);
return Border.all(
color: isDark ? Colors.white.withOpacity(0.08) : const Color(0xFFDDDDEE),
width: 1,
);
}
@override
@@ -15,7 +15,10 @@ class TransactionTile extends ConsumerWidget {
Border? _themeBorder(BuildContext context) {
final isDark = Theme.of(context).brightness == Brightness.dark;
return isDark ? null : Border.all(color: const Color(0xFFDDDDEE), width: 1);
return Border.all(
color: isDark ? Colors.white.withOpacity(0.08) : const Color(0xFFDDDDEE),
width: 1,
);
}
@override
+18 -5
View File
@@ -312,11 +312,24 @@ class _BiometricSectionState extends ConsumerState<_BiometricSection> {
],
),
),
Switch(
value: _enabled,
onChanged: _onToggle,
activeThumbColor: const Color(0xFF7C6DED),
),
if (_loading)
const SizedBox(
width: 48,
height: 32,
child: Center(
child: SizedBox(
width: 20,
height: 20,
child: CircularProgressIndicator(strokeWidth: 2),
),
),
)
else
Switch(
value: _enabled,
onChanged: _onToggle,
activeThumbColor: const Color(0xFF7C6DED),
),
],
),
),