make spinner smaller and of more visible color
This commit is contained in:
parent
2c89534e2d
commit
2996c8e5ef
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue