mirror of
https://github.com/koloideal/Casha.git
synced 2026-06-10 10:25:28 +03:00
stableee
This commit is contained in:
@@ -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