chore(ui): replace loading gif with birds animation and add loading text

This commit is contained in:
2026-04-27 01:14:59 +02:00
parent 74f470219a
commit b5d12f31a1
3 changed files with 18 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 516 KiB

View File

@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:sf_localizations/sf_localizations.dart';
class LegacyLoadingIndicator extends StatelessWidget {
final double size;
@@ -8,10 +9,23 @@ class LegacyLoadingIndicator extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Center(
child: Image.asset(
'packages/design_system/assets/animations/loading_legacy.gif',
width: size,
height: size,
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Image.asset(
'packages/design_system/assets/animations/birds_loading.gif',
width: size,
height: size,
),
const SizedBox(height: 8),
Text(
context.translate(I18n.loadingText),
style: TextStyle(
fontSize: 14,
color: Theme.of(context).colorScheme.onSurfaceVariant,
),
),
],
),
);
}