refactor(mobile): tidy-up dependencies, remove unused, replace rarely used ones (#948)

This commit is contained in:
Fynn Petersen-Frey 2022-11-11 18:52:02 +01:00 committed by GitHub
parent 33ded2a174
commit 8d0ff974e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 76 additions and 303 deletions

View file

@ -1,5 +1,4 @@
import 'package:flutter/material.dart';
import 'package:flutter_spinkit/flutter_spinkit.dart';
class ImmichLoadingIndicator extends StatelessWidget {
const ImmichLoadingIndicator({
@ -15,10 +14,8 @@ class ImmichLoadingIndicator extends StatelessWidget {
color: Theme.of(context).primaryColor.withAlpha(200),
borderRadius: BorderRadius.circular(10),
),
child: const SpinKitDancingSquare(
color: Colors.white,
size: 30.0,
),
padding: const EdgeInsets.all(15),
child: const CircularProgressIndicator(color: Colors.white),
);
}
}