From c81536ac469a7df41cbda2b8c0d151ae2cca0a3f Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Mon, 9 Dec 2019 19:22:06 +0100 Subject: [PATCH] disable survey menu --- app/src/main/java/info/nightscout/androidaps/MainActivity.java | 2 ++ app/src/main/res/menu/menu_main.xml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/MainActivity.java b/app/src/main/java/info/nightscout/androidaps/MainActivity.java index b1c0901e54..ca6345b337 100644 --- a/app/src/main/java/info/nightscout/androidaps/MainActivity.java +++ b/app/src/main/java/info/nightscout/androidaps/MainActivity.java @@ -345,9 +345,11 @@ public class MainActivity extends NoSplashAppCompatActivity { startActivity(i); }, null); return true; +/* case R.id.nav_survey: startActivity(new Intent(this, SurveyActivity.class)); return true; +*/ case R.id.nav_stats: startActivity(new Intent(this, StatsActivity.class)); return true; diff --git a/app/src/main/res/menu/menu_main.xml b/app/src/main/res/menu/menu_main.xml index b76d725116..b84a30e497 100644 --- a/app/src/main/res/menu/menu_main.xml +++ b/app/src/main/res/menu/menu_main.xml @@ -22,10 +22,11 @@ android:id="@+id/nav_stats" app:showAsAction="never" android:title="@string/statistics" /> - +-->