Commit 44149aa3 authored by Sajal Narang's avatar Sajal Narang

Remove unused notifications icon

parent badcfc15
...@@ -188,11 +188,11 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On ...@@ -188,11 +188,11 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
int id = item.getItemId(); int id = item.getItemId();
//noinspection SimplifiableIfStatement //noinspection SimplifiableIfStatement
if (id == R.id.action_notifications) { /*if (id == R.id.action_notifications) {
showNotifications = true; showNotifications = true;
// fetchNotifications(); // fetchNotifications();
return true; return true;
} }*/
return super.onOptionsItemSelected(item); return super.onOptionsItemSelected(item);
} }
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" <menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item <!--<item
android:id="@+id/action_notifications" android:id="@+id/action_notifications"
android:icon="@drawable/ic_notifications_black_24dp" android:icon="@drawable/ic_notifications_black_24dp"
android:orderInCategory="1" android:orderInCategory="1"
android:title="Notifications" android:title="Notifications"
app:showAsAction="always" /> app:showAsAction="always" />-->
</menu> </menu>
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