mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
feat(mobile): spinning flower (#1740)
This commit is contained in:
parent
12a6a7d95a
commit
d555ee737b
1 changed files with 10 additions and 4 deletions
|
@ -32,6 +32,9 @@ class LoginForm extends HookConsumerWidget {
|
||||||
final isLoading = useState<bool>(false);
|
final isLoading = useState<bool>(false);
|
||||||
final isOauthEnable = useState<bool>(false);
|
final isOauthEnable = useState<bool>(false);
|
||||||
final oAuthButtonLabel = useState<String>('OAuth');
|
final oAuthButtonLabel = useState<String>('OAuth');
|
||||||
|
final logoAnimationController = useAnimationController(
|
||||||
|
duration: const Duration(seconds: 60),
|
||||||
|
)..repeat();
|
||||||
|
|
||||||
getServeLoginConfig() async {
|
getServeLoginConfig() async {
|
||||||
if (!serverEndpointFocusNode.hasFocus) {
|
if (!serverEndpointFocusNode.hasFocus) {
|
||||||
|
@ -100,10 +103,13 @@ class LoginForm extends HookConsumerWidget {
|
||||||
children: [
|
children: [
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
onDoubleTap: () => populateTestLoginInfo(),
|
onDoubleTap: () => populateTestLoginInfo(),
|
||||||
child: const Image(
|
child: RotationTransition(
|
||||||
image: AssetImage('assets/immich-logo-no-outline.png'),
|
turns: logoAnimationController,
|
||||||
width: 100,
|
child: const Image(
|
||||||
filterQuality: FilterQuality.high,
|
image: AssetImage('assets/immich-logo-no-outline.png'),
|
||||||
|
width: 100,
|
||||||
|
filterQuality: FilterQuality.high,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
|
|
Loading…
Reference in a new issue