Settings: offline mode

This commit is contained in:
tobtoht
2022-03-14 22:36:58 +01:00
parent 87e46fc961
commit 54140df597
13 changed files with 71 additions and 15 deletions
+5 -1
View File
@@ -88,7 +88,11 @@ void DebugInfoDialog::updateInfo() {
}
}();
ui->label_netType->setText(Utils::QtEnumToString(m_ctx->wallet->nettype()));
QString networkType = Utils::QtEnumToString(m_ctx->wallet->nettype());
if (config()->get(Config::offlineMode).toBool()) {
networkType += " (offline)";
}
ui->label_netType->setText(networkType);
ui->label_seedType->setText(seedType);
ui->label_deviceType->setText(deviceType);
ui->label_viewOnly->setText(m_ctx->wallet->viewOnly() ? "True" : "False");