Skip to content

armgit / ente

Public Imported from GitHub
0

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

[locker] Fix scanner rotation button direction and feedback

laurenspriem1a58904e034c
diff --git a/mobile/apps/locker/changes/scanner-rotation-button.md b/mobile/apps/locker/changes/scanner-rotation-button.md
new file mode 100644
index 0000000000..658d20d704
--- /dev/null
+++ b/mobile/apps/locker/changes/scanner-rotation-button.md
@@ -0,0 +1 @@
+- Fixed the scanner's rotation icon and removed the extra pause between rotations.
diff --git a/mobile/apps/locker/lib/ui/pages/scanner/scanner_review_page.dart b/mobile/apps/locker/lib/ui/pages/scanner/scanner_review_page.dart
index 7821fbefe8..df362eab90 100644
--- a/mobile/apps/locker/lib/ui/pages/scanner/scanner_review_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/scanner/scanner_review_page.dart
@@ -602,11 +602,15 @@ class _ScannerReviewPageState extends State<ScannerReviewPage>
),
const SizedBox(width: Spacing.lg),
IconButtonComponent(
- icon: HugeIcon(
- icon: HugeIcons.strokeRoundedRotateClockwise,
- color: colors.textBase,
+ icon: Transform.flip(
+ flipX: true,
+ child: HugeIcon(
+ icon: HugeIcons.strokeRoundedRotateClockwise,
+ color: colors.textBase,
+ ),
),
onTap: pageCount == 0 ? null : _rotate,
+ shouldSurfaceExecutionStates: false,
tooltip: l10n.rotate,
),
const SizedBox(width: Spacing.lg),