mirror of
https://github.com/wownero/cyberwow.git
synced 2026-10-24 10:48:53 +02:00
tweak indicator layout
This commit is contained in:
@@ -212,6 +212,7 @@ class SyncedState extends HookedState {
|
||||
|
||||
void updateConnected(bool c) {
|
||||
if (connected != c) {
|
||||
// print('update connected: connected: ${connected}, c: ${c}');
|
||||
connected = c;
|
||||
setState(this);
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ Widget buildSynced(BuildContext context, SyncedState state) {
|
||||
[
|
||||
Spacer
|
||||
(
|
||||
flex: 3,
|
||||
flex: 21,
|
||||
),
|
||||
Image.asset
|
||||
('assets/wownero_symbol.png',
|
||||
@@ -49,11 +49,11 @@ Widget buildSynced(BuildContext context, SyncedState state) {
|
||||
),
|
||||
Spacer
|
||||
(
|
||||
flex: 2,
|
||||
flex: 8,
|
||||
),
|
||||
new Expanded
|
||||
(
|
||||
flex: 1,
|
||||
flex: 15,
|
||||
child: new SingleChildScrollView
|
||||
(
|
||||
child: Text
|
||||
@@ -75,16 +75,12 @@ Widget buildSynced(BuildContext context, SyncedState state) {
|
||||
),
|
||||
SizedBox
|
||||
(
|
||||
height: 30.0,
|
||||
width: 30.0,
|
||||
height: 20.0,
|
||||
width: 20.0,
|
||||
child: (state.connected) ?
|
||||
Container() :
|
||||
CircularProgressIndicator(),
|
||||
),
|
||||
Spacer
|
||||
(
|
||||
flex: 1,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user