Skip to content

Commit

Permalink
Display correct value in `BitcoinFragment
Browse files Browse the repository at this point in the history
  • Loading branch information
InvictusRMC committed Feb 19, 2024
1 parent a7e16cd commit 0d74168
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class BitcoinFragment :
inflater.inflate(R.menu.bitcoin_options, menu)
}

@Deprecated("Deprecated in Java")
override fun onOptionsItemSelected(item: MenuItem): Boolean {
@Suppress("DEPRECATION")
return when (item.itemId) {
Expand Down Expand Up @@ -194,7 +195,7 @@ class BitcoinFragment :
} else {
Toast.makeText(
this.requireContext(),
"Successfully added 10 BTC",
"Successfully added 0.10 BTC",
Toast.LENGTH_SHORT
).show()

Expand Down

0 comments on commit 0d74168

Please sign in to comment.