Hide suggestion button again

Change-Id: I2e9bb7dc8c473b3096c11b24c51e294aea7e4d46
This commit is contained in:
SpiritCroc 2021-08-18 12:15:35 +02:00
parent 86108b1031
commit e2bf0a927d
2 changed files with 5 additions and 2 deletions

View File

@ -453,10 +453,12 @@ class HomeActivity :
override fun onOptionsItemSelected(item: MenuItem): Boolean { override fun onOptionsItemSelected(item: MenuItem): Boolean {
when (item.itemId) { when (item.itemId) {
/*
R.id.menu_home_suggestion -> { R.id.menu_home_suggestion -> {
bugReporter.openBugReportScreen(this, ReportType.SUGGESTION) bugReporter.openBugReportScreen(this, ReportType.SUGGESTION)
return true return true
} }
*/
R.id.menu_home_report_bug -> { R.id.menu_home_report_bug -> {
bugReporter.openBugReportScreen(this, ReportType.BUG_REPORT) bugReporter.openBugReportScreen(this, ReportType.BUG_REPORT)
return true return true

View File

@ -9,11 +9,12 @@
android:title="@string/settings" android:title="@string/settings"
app:showAsAction="never" /> app:showAsAction="never" />
<!--
<item <item
android:id="@+id/menu_home_suggestion" android:id="@+id/menu_home_suggestion"
android:icon="@drawable/ic_material_bug_report" android:icon="@drawable/ic_material_bug_report"
android:title="@string/send_suggestion" android:title="@string/send_suggestion" />
android:visible="false" /> -->
<item <item
android:id="@+id/menu_home_report_bug" android:id="@+id/menu_home_report_bug"