Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Settings – Position in list is not spoken (EXPOSUREAPP-11535) #5890

Merged
merged 2 commits into from
Mar 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,9 @@ class HomeFragment : Fragment(R.layout.home_fragment_layout), AutoInject {
}

private fun setupDebugMenu(menu: Menu) {
menu.findItem(R.id.test_nav_graph).isVisible = CWADebug.isDeviceForTestersBuild
if (CWADebug.isDeviceForTestersBuild) {
menu.add(Menu.NONE, R.id.test_nav_graph, menu.size() + 1, "Test Menu")
}
}

private fun MaterialToolbar.setupMenuItemClickListener() {
Expand Down
6 changes: 0 additions & 6 deletions Corona-Warn-App/src/main/res/menu/menu_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,4 @@
android:id="@+id/mainOverviewFragment"
android:icon="@drawable/ic_menu_overview"
android:title="@string/menu_help" />

<item
android:id="@+id/test_nav_graph"
android:title="Test Menu"
android:visible="false"
tools:ignore="HardcodedText" />
</menu>