Revert progress indicator in appbar

This commit is contained in:
Ming Ming 2022-12-03 15:47:40 +08:00
parent 82cdd8b6a1
commit 94a34f3124
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ class AppBarCircularProgressIndicator extends StatelessWidget {
child: SizedBox.square(
dimension: 24,
child: CircularProgressIndicator(
strokeWidth: 2,
strokeWidth: 3,
),
),
);

View file

@ -9,8 +9,8 @@ import 'package:nc_photos/pref.dart';
import 'package:nc_photos/theme.dart';
import 'package:nc_photos/url_launcher_util.dart';
import 'package:nc_photos/widget/account_picker_dialog.dart';
import 'package:nc_photos/widget/app_bar_circular_progress_indicator.dart';
import 'package:nc_photos/widget/app_bar_title_container.dart';
import 'package:nc_photos/widget/cloud_progress_indicator.dart';
import 'package:nc_photos/widget/settings.dart';
import 'package:nc_photos/widget/translucent_sliver_app_bar.dart';
@ -42,7 +42,7 @@ class HomeSliverAppBar extends StatelessWidget {
title: Text(accountLabel ?? account.address),
subtitle: accountLabel == null ? Text(account.username2) : null,
icon: isShowProgressIcon
? const CloudProgressIndicator(size: 36)
? const AppBarCircularProgressIndicator()
: (account.scheme == "http"
? Icon(
Icons.no_encryption_outlined,