summaryrefslogtreecommitdiff
path: root/lib/ui.dart
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2026-03-08 16:49:16 +0100
committerxengineering <me@xengineering.eu>2026-03-08 16:49:42 +0100
commitef8877ccffe0ebcc8f9f1c0bb6db372fa0886c2a (patch)
tree9586da03ef50b2ac3c9e0ddf732a83cefd13d549 /lib/ui.dart
parent796a2b21e8b5989187bfc7d4ddb7ba648038cbca (diff)
downloadsia-app-ef8877ccffe0ebcc8f9f1c0bb6db372fa0886c2a.tar
sia-app-ef8877ccffe0ebcc8f9f1c0bb6db372fa0886c2a.tar.zst
sia-app-ef8877ccffe0ebcc8f9f1c0bb6db372fa0886c2a.zip
Add manual disconnect
This allows going back to the connection page and to choose a different server. Furthermore it might be useful to force a new connection attempt while auto-reconnect might be in a delay state.
Diffstat (limited to 'lib/ui.dart')
-rw-r--r--lib/ui.dart2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ui.dart b/lib/ui.dart
index 1d2ad53..e14895b 100644
--- a/lib/ui.dart
+++ b/lib/ui.dart
@@ -113,7 +113,7 @@ class ConnectionStatus extends StatelessWidget {
}
MachineEvent event = MachineEvent.disconnect;
- String action = '(disabled)';
+ String action = 'disconnect';
if (state.state == MachineState.init) {
event = MachineEvent.connect;
action = 'connect';