lelantus scan option fix

This commit is contained in:
julian 2024-07-03 16:34:57 -06:00
parent f0b62aed92
commit 830a7ab24f

View file

@ -405,17 +405,19 @@ class _RestoreOptionsViewState extends ConsumerState<RestoreOptionsView> {
color: Colors.transparent, color: Colors.transparent,
child: Column( child: Column(
children: [ children: [
CheckboxTextButton( if (coin is Firo)
label: "Scan for Lelantus transactions", CheckboxTextButton(
onChanged: (newValue) { label: "Scan for Lelantus transactions",
setState(() { onChanged: (newValue) {
enableLelantusScanning = newValue ?? true; setState(() {
}); enableLelantusScanning = newValue ?? true;
}, });
), },
const SizedBox( ),
height: 8, if (coin is Firo)
), const SizedBox(
height: 8,
),
ClipRRect( ClipRRect(
borderRadius: BorderRadius.circular( borderRadius: BorderRadius.circular(
Constants.size.circularBorderRadius, Constants.size.circularBorderRadius,