From c7de24f9aeec97d96880c66fe3d3886a9fde122a Mon Sep 17 00:00:00 2001 From: Marcin Stepnowski Date: Mon, 30 Dec 2024 00:15:25 +0100 Subject: [PATCH] Fix torch button --- lib/pages/scan/scan.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/pages/scan/scan.dart b/lib/pages/scan/scan.dart index 0e622a0..3f74821 100644 --- a/lib/pages/scan/scan.dart +++ b/lib/pages/scan/scan.dart @@ -128,7 +128,6 @@ class _MainPageState extends State { GestureDetector( onTap: () { _scanBloc.add(ScanEvent.torchSwitched()); - cameraController.toggleTorch(); }, child: Container( decoration: BoxDecoration(