Set standard position.
This commit is contained in:
parent
35f815e82f
commit
4a0e57902c
@ -63,17 +63,15 @@ class ChessApp extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
floatingActionButton: const FloatingActionButton(
|
floatingActionButton: FloatingActionButton(
|
||||||
onPressed: reconnect,
|
onPressed: () {
|
||||||
child: Icon(Icons.connect_without_contact),
|
ServerConnection.getInstance().reconnect();
|
||||||
|
ConnectionCubit.getInstance().reconnect();
|
||||||
|
},
|
||||||
|
child: const Icon(Icons.network_wifi),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void reconnect() {
|
|
||||||
ServerConnection.getInstance().reconnect();
|
|
||||||
ConnectionCubit.getInstance().reconnect();
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user