opt: only display token on iOS

This commit is contained in:
lollipopkit
2023-03-18 17:52:25 +08:00
parent 2cc52fcee6
commit 89050daf4e
4 changed files with 22 additions and 28 deletions

View File

@@ -157,9 +157,7 @@ class ServerProvider extends BusyProvider {
// after connected
s.cs = ServerState.connected;
final writeResult = await s.client!
.run(installShellCmd)
.string;
final writeResult = await s.client!.run(installShellCmd).string;
// if write failed
if (writeResult.isNotEmpty) {