]> git.ktnx.net Git - mobile-ledger.git/commitdiff
comment out unused menu stuff
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 28 Nov 2018 20:57:26 +0000 (20:57 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 28 Nov 2018 20:57:26 +0000 (20:57 +0000)
app/src/main/java/net/ktnx/mobileledger/LatestTransactions.java
app/src/main/res/menu/latest_transactions.xml [deleted file]

index 3cd6e10aaa5fdff51fda7b9ac32c539182d1d13c..ba5cdb3bd09acece2e1266067ffbf92b65980afc 100644 (file)
@@ -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 (file)
index 994ee40..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:app="http://schemas.android.com/apk/res-auto">
-    <item
-        android:id="@+id/action_settings"
-        android:icon="@drawable/ic_menu_manage"
-        android:orderInCategory="100"
-        android:title="@string/action_settings"
-        app:showAsAction="never" />
-</menu>