make spinner a bit smaller
This commit is contained in:
parent
8f03b695ab
commit
f180c9d688
|
@ -88,8 +88,13 @@ class AddInstancePage extends HookWidget {
|
|||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
),
|
||||
child:
|
||||
!loading.value ? Text('Add') : CircularProgressIndicator(),
|
||||
child: !loading.value
|
||||
? Text('Add')
|
||||
: SizedBox(
|
||||
height: 20,
|
||||
width: 20,
|
||||
child: CircularProgressIndicator(),
|
||||
),
|
||||
onPressed: instanceController.text.isEmpty ? null : handleOnAdd,
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue