aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorDusan Klinec <dusan.klinec@gmail.com>2019-06-17 17:14:13 +0200
committerDusan Klinec <dusan.klinec@gmail.com>2019-07-15 17:54:50 +0200
commit2d72f55e57ace903d705cf617f305f366cf5665e (patch)
treedbfab7ca5cbdff6eda96c3c74b614b9c954623b4 /pages
parent702b654f09785d7aacd0794293947a09d611c5ad (diff)
downloadmonzero-gui-2d72f55e57ace903d705cf617f305f366cf5665e.tar.gz
monzero-gui-2d72f55e57ace903d705cf617f305f366cf5665e.tar.xz
monzero-gui-2d72f55e57ace903d705cf617f305f366cf5665e.zip
device: show address on device display
Diffstat (limited to 'pages')
-rw-r--r--pages/Receive.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/pages/Receive.qml b/pages/Receive.qml
index 630690ae..83515643 100644
--- a/pages/Receive.qml
+++ b/pages/Receive.qml
@@ -31,6 +31,7 @@ import QtQuick.Controls 2.0
import QtQuick.Controls.Styles 1.4
import QtQuick.Layouts 1.1
import QtQuick.Dialogs 1.2
+import FontAwesome 1.0
import "../components" as MoneroComponents
import "../components/effects/" as MoneroEffects
@@ -308,6 +309,20 @@ Rectangle {
appWindow.showStatusMessage(qsTr("Copied to clipboard") + translationManager.emptyString, 3);
}
}
+
+ MoneroComponents.StandardButton {
+ text: FontAwesome.eye
+ label.font.family: FontAwesome.fontFamily
+ fontSize: 24
+ width: 36
+ visible: appWindow.currentWallet && appWindow.currentWallet.isHwBacked()
+ onClicked: {
+ appWindow.currentWallet.deviceShowAddressAsync(
+ appWindow.currentWallet.currentSubaddressAccount,
+ appWindow.current_subaddress_table_index,
+ '');
+ }
+ }
}
}