make spinner smaller and of more visible color

This commit is contained in:
krawieck 2020-09-21 23:17:33 +02:00
parent 2c89534e2d
commit 2996c8e5ef
1 changed files with 8 additions and 1 deletions

View File

@ -190,7 +190,14 @@ class AddAccountPage extends HookWidget {
),
child: !loading.value
? Text('Sign in')
: CircularProgressIndicator(),
: SizedBox(
width: 20,
height: 20,
child: CircularProgressIndicator(
valueColor:
AlwaysStoppedAnimation<Color>(theme.canvasColor),
),
),
onPressed: usernameController.text.isEmpty ||
passwordController.text.isEmpty
? null