Skip to content

Commit

Permalink
Fix coins with overrides not loading.
Browse files Browse the repository at this point in the history
Update version.
  • Loading branch information
hwki committed Oct 10, 2021
1 parent d72d8b4 commit bc2809b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bitcoin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
applicationId "com.brentpanther.bitcoinwidget"
minSdk 23
targetSdk 31
versionCode 281
versionName "8.1.1"
versionCode 282
versionName "8.1.2"

javaCompileOptions {
annotationProcessorOptions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ open class ExchangeData(val coinEntry: CoinEntry, json: InputStream) {
}

open fun getExchangeCoinName(exchange: String): String? {
return obj?.getExchangeCoinName(exchange, coinEntry.name)
return obj?.getExchangeCoinName(exchange, coinEntry.coin.name)
}

open fun getExchangeCurrencyName(exchange: String, currency: String): String? {
Expand Down
2 changes: 1 addition & 1 deletion bitcoin/src/main/res/raw/cryptowidgetcoins.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bitcoin/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<item>ISO</item>
<item>NONE</item>
</string-array>
<string name="json_last_modified" translatable="false">Sat, 09 Oct 2021 01:51:38 GMT</string>
<string name="json_last_modified" translatable="false">Sun, 10 Oct 2021 19:14:55 GMT</string>
<string name="json_url" translatable="false">https://www.brentpanther.com/cryptowidgetcoins.json</string>

<string name="settings_updating_data">Updating coin data…</string>
Expand Down
3 changes: 3 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/282.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Added Symbol coin.
Fixed some coins that were not loading correctly.
Added response caching.

0 comments on commit bc2809b

Please sign in to comment.