diff --git a/mobile/lib/modules/login/ui/login_form.dart b/mobile/lib/modules/login/ui/login_form.dart index c834fc1543..1050da9e50 100644 --- a/mobile/lib/modules/login/ui/login_form.dart +++ b/mobile/lib/modules/login/ui/login_form.dart @@ -32,6 +32,9 @@ class LoginForm extends HookConsumerWidget { final isLoading = useState(false); final isOauthEnable = useState(false); final oAuthButtonLabel = useState('OAuth'); + final logoAnimationController = useAnimationController( + duration: const Duration(seconds: 60), + )..repeat(); getServeLoginConfig() async { if (!serverEndpointFocusNode.hasFocus) { @@ -100,10 +103,13 @@ class LoginForm extends HookConsumerWidget { children: [ GestureDetector( onDoubleTap: () => populateTestLoginInfo(), - child: const Image( - image: AssetImage('assets/immich-logo-no-outline.png'), - width: 100, - filterQuality: FilterQuality.high, + child: RotationTransition( + turns: logoAnimationController, + child: const Image( + image: AssetImage('assets/immich-logo-no-outline.png'), + width: 100, + filterQuality: FilterQuality.high, + ), ), ), Text(