mirror of
https://github.com/koloideal/Casha.git
synced 2026-06-10 10:25:28 +03:00
stableee
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user