Verified Commit 6086ec8e authored by Sarath's avatar Sarath
Browse files

Remove redundant post-mix tx option

Since the new UI introduced dedicated transactions tab, toolbar option is redundant
parent eb6a88d2
...@@ -278,13 +278,6 @@ class WhirlpoolHome : SamouraiActivity() { ...@@ -278,13 +278,6 @@ class WhirlpoolHome : SamouraiActivity() {
WhirlpoolMeta.getInstance(this@WhirlpoolHome).whirlpoolPostmix WhirlpoolMeta.getInstance(this@WhirlpoolHome).whirlpoolPostmix
) )
startActivity(intent) startActivity(intent)
} else if (id == R.id.action_menu_view_post_mix) {
val intent = Intent(this@WhirlpoolHome, BalanceActivity::class.java)
intent.putExtra(
"_account",
WhirlpoolMeta.getInstance(this@WhirlpoolHome).whirlpoolPostmix
)
startActivity(intent)
} else if (id == R.id.action_scode) { } else if (id == R.id.action_scode) {
doSCODE() doSCODE()
} else if (id == R.id.action_scan_qr) { } else if (id == R.id.action_scan_qr) {
......
...@@ -18,11 +18,6 @@ ...@@ -18,11 +18,6 @@
app:showAsAction="always" app:showAsAction="always"
android:title="@string/scan" /> android:title="@string/scan" />
<item android:id="@+id/action_menu_view_post_mix"
android:title="@string/post_mix_transactions"
app:showAsAction="never"
/>
<item android:id="@+id/action_scode" <item android:id="@+id/action_scode"
android:title="@string/scode" android:title="@string/scode"
app:showAsAction="never" app:showAsAction="never"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment