From: Damyan Ivanov Date: Wed, 28 Nov 2018 20:57:26 +0000 (+0000) Subject: comment out unused menu stuff X-Git-Tag: v0.3~392 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=9dca57073b68b3a79efbe9a11f3c84c13b16f5be;p=mobile-ledger.git comment out unused menu stuff --- 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 @@ - - - -