Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Commit

Permalink
fix gold display
Browse files Browse the repository at this point in the history
  • Loading branch information
JMaio committed Dec 9, 2018
1 parent 13c66d6 commit 632a0ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/main/java/io/github/jmaio/coinz/WalletActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ class WalletActivity : AppCompatActivity(), AnkoLogger {
wallet_day_progressbar.progress = (p * 2)

wallet.gold.toString().split('.').let { (u, d) ->
gold_chip.text = getString(R.string.value_display, u, d)
//"$u.${d.take(3)}"
gold_chip.text = getString(R.string.value_display, u, d.take(6))
}
}

Expand Down

0 comments on commit 632a0ce

Please sign in to comment.