Merge pull request 'Prices: add support for NZD' (#82) from tobtoht/feather:nzd into master

Reviewed-on: https://git.wownero.com/feather/feather/pulls/82
This commit is contained in:
tobtoht 2020-10-16 13:15:12 +00:00
commit c5a055eb70
3 changed files with 15 additions and 4 deletions

View File

@ -126,6 +126,11 @@
<string>GBP</string> <string>GBP</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>AUD</string>
</property>
</item>
<item> <item>
<property name="text"> <property name="text">
<string>JPY</string> <string>JPY</string>
@ -133,12 +138,12 @@
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>RMB</string> <string>NZD</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>AUD</string> <string>RMB</string>
</property> </property>
</item> </item>
</widget> </widget>

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>754</width> <width>1019</width>
<height>278</height> <height>358</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -93,6 +93,11 @@
<string>MXN</string> <string>MXN</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>NZD</string>
</property>
</item>
<item> <item>
<property name="text"> <property name="text">
<string>SEK</string> <string>SEK</string>

View File

@ -28,6 +28,7 @@ Prices::Prices(QObject *parent) : QObject(parent) {
fiat["CNY"] = "¥"; fiat["CNY"] = "¥";
fiat["CZK"] = ""; fiat["CZK"] = "";
fiat["AUD"] = "$"; fiat["AUD"] = "$";
fiat["NZD"] = "$";
} }
void Prices::cryptoPricesReceived(const QJsonArray &data) { void Prices::cryptoPricesReceived(const QJsonArray &data) {