Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[locker] Use neutral styling for scanner capture mode toggle

laurenspriem6cb0ecc9279d
diff --git a/mobile/apps/locker/lib/ui/pages/scanner/scanner_capture_page.dart b/mobile/apps/locker/lib/ui/pages/scanner/scanner_capture_page.dart
index c941962013..fc6574aca1 100644
--- a/mobile/apps/locker/lib/ui/pages/scanner/scanner_capture_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/scanner/scanner_capture_page.dart
@@ -619,14 +619,11 @@ class _AutoToggle extends StatelessWidget {
: context.strings.scannerAutoCaptureOn,
child: GestureDetector(
onTap: onTap,
- child: AnimatedContainer(
- duration: Motion.standard,
+ child: Container(
height: 44,
padding: const EdgeInsets.symmetric(horizontal: Spacing.md),
decoration: BoxDecoration(
- color: active
- ? colors.primary
- : Colors.black.withValues(alpha: 0.4),
+ color: Colors.black.withValues(alpha: 0.4),
borderRadius: BorderRadius.circular(22),
),
child: Row(