fix(ui): Add loading animation for backups screen

Closes #309
pull/274/head
Inex Code 2023-08-14 05:54:11 +03:00
parent 4170224119
commit 7e1620be3c
1 changed files with 8 additions and 1 deletions

View File

@ -62,7 +62,14 @@ class BackupDetailsPage extends StatelessWidget {
heroTitle: 'backup.card_title'.tr(),
heroSubtitle: 'backup.description'.tr(),
children: [
BrandButton.rised(
if (preventActions)
const Center(
child: Padding(
padding: EdgeInsets.all(16.0),
child: CircularProgressIndicator(),
),
),
if (!preventActions) BrandButton.rised(
onPressed: preventActions
? null
: () async {