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

Commit e440e6d

Browse files
committed
Remove additional BottomAppBar menu item
Remove sun icon for theme selection in favor of settings icon. Change-Id: Ibf1255ae35a7b15c9ce5d3989ddcc3c99e757690
1 parent e577afe commit e440e6d

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
@@ -190,7 +190,7 @@ class MainActivity : AppCompatActivity(),
190190

191191
override fun onMenuItemClick(item: MenuItem?): Boolean {
192192
when (item?.itemId) {
193-
R.id.menu_theme -> {
193+
R.id.menu_settings -> {
194194
bottomNavDrawer.close()
195195
showDarkThemeMenu()
196196
}

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)