From b616e1c8f6ff7cb31402c8c0719932f9babed8a7 Mon Sep 17 00:00:00 2001 From: selsta Date: Sat, 27 Jul 2019 18:06:07 +0200 Subject: [PATCH] SettingsNode: change icons --- images/settings_local.svg | 6 ------ images/settings_remote.svg | 7 ------- pages/settings/SettingsNode.qml | 33 ++++++++++++--------------------- qml.qrc | 2 -- 4 files changed, 12 insertions(+), 36 deletions(-) delete mode 100644 images/settings_local.svg delete mode 100644 images/settings_remote.svg diff --git a/images/settings_local.svg b/images/settings_local.svg deleted file mode 100644 index 2159cd2a..00000000 --- a/images/settings_local.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/images/settings_remote.svg b/images/settings_remote.svg deleted file mode 100644 index d7fc5f54..00000000 --- a/images/settings_remote.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/pages/settings/SettingsNode.qml b/pages/settings/SettingsNode.qml index 66efc722..aed8774e 100644 --- a/pages/settings/SettingsNode.qml +++ b/pages/settings/SettingsNode.qml @@ -96,17 +96,12 @@ Rectangle{ anchors.leftMargin: 16 anchors.verticalCenter: parent.verticalCenter - MoneroEffects.ImageMask { - height: 27 - width: 27 - anchors.horizontalCenter: parent.horizontalCenter - anchors.verticalCenter: parent.verticalCenter - fontAwesomeFallbackIcon: FontAwesome.shield - fontAwesomeFallbackSize: 26 - image: "qrc:///images/settings_local.svg" - - color: MoneroComponents.Style.defaultFontColor - opacity: MoneroComponents.Style.blackTheme ? 1.0 : 0.8 + MoneroComponents.Label { + fontSize: 32 + text: FontAwesome.home + fontFamily: FontAwesome.fontFamily + anchors.centerIn: parent + fontColor: MoneroComponents.Style.defaultFontColor } } @@ -202,16 +197,12 @@ Rectangle{ anchors.leftMargin: 16 anchors.verticalCenter: parent.verticalCenter - MoneroEffects.ImageMask { - height: 29 - width: 22 - anchors.horizontalCenter: parent.horizontalCenter - anchors.verticalCenter: parent.verticalCenter - fontAwesomeFallbackIcon: FontAwesome.cloudDownload - fontAwesomeFallbackSize: 26 - image: "qrc:///images/settings_remote.svg" - color: MoneroComponents.Style.defaultFontColor - opacity: MoneroComponents.Style.blackTheme ? 1.0 : 0.8 + MoneroComponents.Label { + fontSize: 28 + text: FontAwesome.cloud + fontFamily: FontAwesome.fontFamily + anchors.centerIn: parent + fontColor: MoneroComponents.Style.defaultFontColor } } diff --git a/qml.qrc b/qml.qrc index 29f68f1a..cbb41c5f 100644 --- a/qml.qrc +++ b/qml.qrc @@ -167,8 +167,6 @@ pages/settings/SettingsLayout.qml pages/settings/SettingsInfo.qml pages/settings/Navbar.qml - images/settings_local.svg - images/settings_remote.svg components/WarningBox.qml images/miningxmr.png images/miningxmr@2x.png