Skip to content

Commit 1978616

Browse files
authored
fix: torch off on default in ui (#1349)
1 parent fc45907 commit 1978616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/components/scanner_settings.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ScannerSettings extends StatelessWidget {
2626
IconButton(
2727
onPressed: () => scanController.toggleTorch(),
2828
icon: Icon(
29-
scanController.value.torchState == TorchState.on
29+
scanController.value.torchState == TorchState.off
3030
? Icons.flash_off
3131
: Icons.flash_on,
3232
color: iconColor,

0 commit comments

Comments
 (0)