From aca6174ef4e9490ec55a1a3a9126fb7f8e7a103c Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Wed, 2 Jun 2021 17:07:01 +0200 Subject: [PATCH] AddressBook: add Font Awesome fallback icons --- pages/AddressBook.qml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pages/AddressBook.qml b/pages/AddressBook.qml index 8ea97662..2a895446 100644 --- a/pages/AddressBook.qml +++ b/pages/AddressBook.qml @@ -210,9 +210,13 @@ Rectangle { image: "qrc:///images/arrow-right-in-circle-outline-medium-white.svg" color: MoneroComponents.Style.defaultFontColor opacity: 0.5 + fontAwesomeFallbackIcon: FontAwesome.arrowRight + fontAwesomeFallbackSize: 22 + fontAwesomeFallbackOpacity: 0.5 Layout.preferredWidth: 20 Layout.preferredHeight: 20 tooltip: qsTr("Send to this address") + translationManager.emptyString + onClicked: { doSend(); } @@ -223,6 +227,9 @@ Rectangle { image: "qrc:///images/edit.svg" color: MoneroComponents.Style.defaultFontColor opacity: 0.5 + fontAwesomeFallbackIcon: FontAwesome.edit + fontAwesomeFallbackSize: 22 + fontAwesomeFallbackOpacity: 0.5 Layout.preferredWidth: 23 Layout.preferredHeight: 21 tooltip: qsTr("Edit address label") + translationManager.emptyString @@ -236,10 +243,13 @@ Rectangle { MoneroComponents.IconButton { id: copyButton image: "qrc:///images/copy.svg" - Layout.preferredWidth: 16 - Layout.preferredHeight: 21 color: MoneroComponents.Style.defaultFontColor opacity: 0.5 + fontAwesomeFallbackIcon: FontAwesome.clipboard + fontAwesomeFallbackSize: 22 + fontAwesomeFallbackOpacity: 0.5 + Layout.preferredWidth: 16 + Layout.preferredHeight: 21 tooltip: qsTr("Copy address to clipboard") + translationManager.emptyString onClicked: {