diff options
author | link2xt <link2xt@testrun.org> | 2021-07-18 01:23:07 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-07-18 01:23:07 +0300 |
commit | 3e8465c3b8e7c96faf0c0fe214f4dc43e3e6ac3e (patch) | |
tree | 063a254735b822559d11a1373b927a03da69262c | |
parent | cba024b7afb7f40408f09446aa49ca25cf0e6e06 (diff) | |
download | kdeltachat-3e8465c3b8e7c96faf0c0fe214f4dc43e3e6ac3e.tar.gz kdeltachat-3e8465c3b8e7c96faf0c0fe214f4dc43e3e6ac3e.zip |
Replace "Start IO" toggle with "Work offline"
I/O is started by default.
-rw-r--r-- | qml/main.qml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/qml/main.qml b/qml/main.qml index a6cc6f1..cd1af50 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -18,12 +18,12 @@ Kirigami.ApplicationWindow { globalDrawer: Kirigami.GlobalDrawer { header: Controls.Switch { - text: "Start IO" + text: "Work offline" onCheckedChanged: { if (checked) { - dcAccounts.startIo() - } else { dcAccounts.stopIo() + } else { + dcAccounts.startIo() } } } @@ -64,6 +64,8 @@ Kirigami.ApplicationWindow { pageStack.replace("qrc:/qml/ConfigurePage.qml", {context: selectedAccount, eventEmitter: eventEmitter}) } } + + dcAccounts.startIo() } onClosing: { |