aboutsummaryrefslogtreecommitdiff
path: root/components/HistoryTableMobile.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-03-31 03:25:20 +0200
committerSander Ferdinand <sa.ferdinand@gmail.com>2018-03-31 03:25:20 +0200
commite638ed0272ca042f3ad77b680665a91ed8a35cce (patch)
tree1c91223dd243221d644a0b22d2dc94563b264fdf /components/HistoryTableMobile.qml
parent959c2fcc32d515f90cb39933689a37418197a095 (diff)
downloadmonzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.gz
monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.xz
monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.zip
Explicitly import MoneroComponents; prevent namespace pollution
Diffstat (limited to 'components/HistoryTableMobile.qml')
-rw-r--r--components/HistoryTableMobile.qml14
1 files changed, 8 insertions, 6 deletions
diff --git a/components/HistoryTableMobile.qml b/components/HistoryTableMobile.qml
index 8ea5afcc..eb27612d 100644
--- a/components/HistoryTableMobile.qml
+++ b/components/HistoryTableMobile.qml
@@ -31,6 +31,8 @@ import QtQuick.Layouts 1.1
import moneroComponents.Clipboard 1.0
import moneroComponents.AddressBookModel 1.0
+import "../components" as MoneroComponents
+
ListView {
id: listView
clip: true
@@ -152,16 +154,16 @@ ListView {
Layout.topMargin: 20 * scaleRatio
Layout.leftMargin: 10 * scaleRatio
Text {
- font.family: Style.fontMedium.name
+ font.family: MoneroComponents.Style.fontMedium.name
font.pixelSize: 14 * scaleRatio
- color: Style.defaultFontColor
+ color: MoneroComponents.Style.defaultFontColor
text: date
}
Text {
font.family: Style.fontRegular.name
font.pixelSize: 14 * scaleRatio
- color: Style.dimmedFontColor
+ color: MoneroComponents.Style.dimmedFontColor
text: time
}
@@ -169,7 +171,7 @@ ListView {
Text {
visible: confirmations < confirmationsRequired || isPending
Layout.leftMargin: 5 * scaleRatio
- font.family: Style.fontRegular.name
+ font.family: MoneroComponents.Style.fontRegular.name
font.pixelSize: 14 * scaleRatio
color: (confirmations < confirmationsRequired)? "#FF6C3C" : "#545454"
text: {
@@ -193,7 +195,7 @@ ListView {
Text {
font.family: "Arial"
font.pixelSize: 14 * scaleRatio
- color: isOut ? Style.defaultFontColor : "#2eb358"
+ color: isOut ? MoneroComponents.Style.defaultFontColor : "#2eb358"
text: isOut ? "↓" : "↑"
}
@@ -201,7 +203,7 @@ ListView {
id: amountText
font.family: "Arial"
font.pixelSize: 18 * scaleRatio
- color: isOut ? Style.defaultFontColor : "#2eb358"
+ color: isOut ? MoneroComponents.Style.defaultFontColor : "#2eb358"
text: displayAmount
}
}