Skip to content

Commit

Permalink
Take into account the new dark mode (invisible) menu
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwibrowser committed Dec 11, 2021
1 parent b3955b5 commit dd7b715
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions chrome/android/java/res/menu/main_menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,12 @@
android:checkable="true" />
</menu>
</item>
<item android:id="@+id/auto_dark_web_contents_row_menu_id"
<item android:id="@+id/adblock_row_menu_id"
android:title="@null">
<menu>
<item android:id="@+id/auto_dark_web_contents_id"
android:title="@string/menu_auto_dark_web_contents"
android:icon="@drawable/ic_brightness_medium_24dp" />
<item android:id="@+id/auto_dark_web_contents_check_id"
<item android:id="@+id/adblock_id"
android:title="@string/main_menu_adblock" />
<item android:id="@+id/adblock_check_id"
android:title="@null"
android:checkable="true" />
</menu>
Expand All @@ -150,6 +149,17 @@
android:icon="@drawable/reader_mode_prefs_icon" />
<item android:id="@+id/night_mode_switcher_id"
android:title="@string/main_menu_turn_on_night_mode" />
<item android:id="@+id/auto_dark_web_contents_row_menu_id"
android:title="@null">
<menu>
<item android:id="@+id/auto_dark_web_contents_id"
android:title="@string/menu_auto_dark_web_contents"
android:icon="@drawable/ic_brightness_medium_24dp" />
<item android:id="@+id/auto_dark_web_contents_check_id"
android:title="@null"
android:checkable="true" />
</menu>
</item>
<item android:id="@+id/developer_tools_id"
android:title="@string/main_menu_developer_tools"
android:icon="@drawable/ic_devtools" />
Expand Down

0 comments on commit dd7b715

Please sign in to comment.