From 9dca57073b68b3a79efbe9a11f3c84c13b16f5be Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Wed, 28 Nov 2018 20:57:26 +0000 Subject: [PATCH] comment out unused menu stuff --- .../java/net/ktnx/mobileledger/LatestTransactions.java | 8 ++++---- app/src/main/res/menu/latest_transactions.xml | 10 ---------- 2 files changed, 4 insertions(+), 14 deletions(-) delete mode 100644 app/src/main/res/menu/latest_transactions.xml diff --git a/app/src/main/java/net/ktnx/mobileledger/LatestTransactions.java b/app/src/main/java/net/ktnx/mobileledger/LatestTransactions.java index 3cd6e10a..ba5cdb3b 100644 --- a/app/src/main/java/net/ktnx/mobileledger/LatestTransactions.java +++ b/app/src/main/java/net/ktnx/mobileledger/LatestTransactions.java @@ -66,7 +66,7 @@ public class LatestTransactions extends AppCompatActivity { @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. - getMenuInflater().inflate(R.menu.latest_transactions, menu); + //getMenuInflater().inflate(R.menu.latest_transactions, menu); return true; } @@ -78,9 +78,9 @@ public class LatestTransactions extends AppCompatActivity { int id = item.getItemId(); //noinspection SimplifiableIfStatement - if (id == R.id.action_settings) { - return true; - } + //if (id == R.id.action_settings) { + // return true; + // } return super.onOptionsItemSelected(item); } diff --git a/app/src/main/res/menu/latest_transactions.xml b/app/src/main/res/menu/latest_transactions.xml deleted file mode 100644 index 994ee406..00000000 --- a/app/src/main/res/menu/latest_transactions.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - -- 2.39.5