mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 17:25:35 +03:00
fix(mobile): sync icon rotation direction (#20088)
spin the sync icon the right direction
This commit is contained in:
@@ -364,7 +364,10 @@ class _SyncStatusIndicatorState extends ConsumerState<_SyncStatusIndicator>
|
|||||||
child: Opacity(
|
child: Opacity(
|
||||||
opacity: isSyncing ? 1.0 : _dismissalAnimation.value,
|
opacity: isSyncing ? 1.0 : _dismissalAnimation.value,
|
||||||
child: Transform.rotate(
|
child: Transform.rotate(
|
||||||
angle: _rotationAnimation.value * 2 * 3.14159,
|
angle: _rotationAnimation.value *
|
||||||
|
2 *
|
||||||
|
3.14159 *
|
||||||
|
-1, // Rotate counter-clockwise
|
||||||
child: Icon(
|
child: Icon(
|
||||||
Icons.sync,
|
Icons.sync,
|
||||||
size: 24,
|
size: 24,
|
||||||
|
|||||||
Reference in New Issue
Block a user