Skip to content

Commit 04f6ec9

Browse files
committed
Update interface AppMenuItemType
See https://source.chromium.org/chromium/chromium/src/+/b401e4c7d169554c20496620bd76db7237a14034 for the upstream change. Close #280 as fixed.
1 parent 7e060c8 commit 04f6ec9

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

app/src/main/java/org/matrix/chromext/hook/PageMenu.kt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,20 @@ enum class AppMenuItemType(val value: Int) {
3838
*/
3939
BUTTON_ROW(2),
4040

41+
/** Menu item that when contains submenus. */
42+
MENU_ITEM_WITH_SUBMENU(3),
43+
44+
/** The header for submenus when submenus are displayed in drilldown. */
45+
SUBMENU_HEADER(4),
46+
4147
/** A divider item to distinguish between menu item groupings. */
42-
DIVIDER(3),
48+
DIVIDER(5),
4349

4450
/**
4551
* The number of menu item types specified above. If you add a menu item type you MUST increment
4652
* this.
4753
*/
48-
NUM_ENTRIES(4)
54+
NUM_ENTRIES(6)
4955
}
5056

5157
enum class EntryPoint(val value: Int) {

0 commit comments

Comments
 (0)