Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit 473e0bb

Browse files
hunterstichGerrit Code Review
authored andcommitted
Merge "Remove additional BottomAppBar menu item"
2 parents 78f3201 + e440e6d commit 473e0bb

File tree

3 files changed

+1
-31
lines changed

3 files changed

+1
-31
lines changed

app/src/main/java/com/materialstudies/reply/ui/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class MainActivity : AppCompatActivity(),
192192

193193
override fun onMenuItemClick(item: MenuItem?): Boolean {
194194
when (item?.itemId) {
195-
R.id.menu_theme -> {
195+
R.id.menu_settings -> {
196196
bottomNavDrawer.close()
197197
showDarkThemeMenu()
198198
}

app/src/main/res/drawable/ic_wb_sunny_on_branded.xml

Lines changed: 0 additions & 23 deletions
This file was deleted.

app/src/main/res/menu/bottom_app_bar_settings_menu.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,10 @@
1515
<menu xmlns:android="http://schemas.android.com/apk/res/android"
1616
xmlns:app="http://schemas.android.com/apk/res-auto">
1717

18-
<item
19-
android:id="@+id/menu_theme"
20-
android:icon="@drawable/ic_wb_sunny_on_branded"
21-
app:showAsAction="ifRoom"
22-
android:title="Theme"/>
23-
2418
<item
2519
android:id="@+id/menu_settings"
2620
android:icon="@drawable/ic_settings_on_branded"
2721
app:showAsAction="ifRoom"
2822
android:title="Settings"/>
2923

30-
3124
</menu>

0 commit comments

Comments
 (0)