android: 新增isHideAddToDesktopMenu、isHideFavoriteMenu配置项

master
zhongweiguang 2023-03-24 10:57:54 +08:00
parent 8a7bcf75b8
commit 368b7d843a
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ public class InitUtils {
uiConfig.setHideForwardMenu((Boolean) map.get("isHideForwardMenu")); uiConfig.setHideForwardMenu((Boolean) map.get("isHideForwardMenu"));
uiConfig.setHideRefreshMenu((Boolean) map.get("isHideRefreshMenu")); uiConfig.setHideRefreshMenu((Boolean) map.get("isHideRefreshMenu"));
uiConfig.setHideShareAppletMenu((Boolean) map.get("isHideShareAppletMenu")); uiConfig.setHideShareAppletMenu((Boolean) map.get("isHideShareAppletMenu"));
uiConfig.setHideAddToDesktopMenu((Boolean) map.get("isHideAddToDesktopMenu"));
uiConfig.setHideFavoriteMenu((Boolean) map.get("isHideFavoriteMenu"));
uiConfig.setHideSettingMenu((Boolean) map.get("isHideSettingMenu")); uiConfig.setHideSettingMenu((Boolean) map.get("isHideSettingMenu"));
uiConfig.setHideTransitionCloseButton((Boolean) map.get("hideTransitionCloseButton")); uiConfig.setHideTransitionCloseButton((Boolean) map.get("hideTransitionCloseButton"));
Map<Object, Object> capsuleConfigMap = (Map<Object, Object>) map.get("capsuleConfig"); Map<Object, Object> capsuleConfigMap = (Map<Object, Object>) map.get("capsuleConfig");