Skip to content

Commit

Permalink
SettingsNode: change icons
Browse files Browse the repository at this point in the history
  • Loading branch information
selsta committed Aug 14, 2019
1 parent 55b4425 commit b616e1c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 36 deletions.
6 changes: 0 additions & 6 deletions images/settings_local.svg

This file was deleted.

7 changes: 0 additions & 7 deletions images/settings_remote.svg

This file was deleted.

33 changes: 12 additions & 21 deletions pages/settings/SettingsNode.qml
Expand Up @@ -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
}
}

Expand Down Expand Up @@ -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
}
}

Expand Down
2 changes: 0 additions & 2 deletions qml.qrc
Expand Up @@ -167,8 +167,6 @@
<file>pages/settings/SettingsLayout.qml</file>
<file>pages/settings/SettingsInfo.qml</file>
<file>pages/settings/Navbar.qml</file>
<file>images/settings_local.svg</file>
<file>images/settings_remote.svg</file>
<file>components/WarningBox.qml</file>
<file>images/miningxmr.png</file>
<file>images/miningxmr@2x.png</file>
Expand Down

0 comments on commit b616e1c

Please sign in to comment.