diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index cc33aed..27c1745 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -557,6 +557,12 @@ void MainWindow::connectApp() {
con.lblConnStr->setText(uri);
con.qrcode->setQrcodeString(uri);
+ con.lblRemoteNonce->setText(AppDataServer::getNonceHex(NonceType::REMOTE));
+ con.lblLocalNonce->setText(AppDataServer::getNonceHex(NonceType::LOCAL));
+
+ QObject::connect(con.btnDisconnect, &QPushButton::clicked, [=]() {
+ AppDataServer::saveNonceHex(NonceType::REMOTE, QString("00").repeated(24));
+ });
d.exec();
}
diff --git a/src/mobileappconnector.ui b/src/mobileappconnector.ui
index d8958f7..89209c8 100644
--- a/src/mobileappconnector.ui
+++ b/src/mobileappconnector.ui
@@ -78,6 +78,13 @@
ZecQT Wallet Companion App
+ -
+
+
+ Disconnect
+
+
+
-
@@ -85,14 +92,7 @@
- -
-
-
- Disconnect
-
-
-
- -
+
-
Qt::Vertical
@@ -105,6 +105,20 @@
+ -
+
+
+ TextLabel
+
+
+
+ -
+
+
+ TextLabel
+
+
+