From 368b7d843a2b198cc185286ff1b74f80bf669d91 Mon Sep 17 00:00:00 2001 From: zhongweiguang Date: Fri, 24 Mar 2023 10:57:54 +0800 Subject: [PATCH] =?UTF-8?q?android:=20=E6=96=B0=E5=A2=9EisHideAddToDesktop?= =?UTF-8?q?Menu=E3=80=81isHideFavoriteMenu=E9=85=8D=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/finogeeks/mop/api/mop/util/InitUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/src/main/java/com/finogeeks/mop/api/mop/util/InitUtils.java b/android/src/main/java/com/finogeeks/mop/api/mop/util/InitUtils.java index 9bec726..2c104de 100644 --- a/android/src/main/java/com/finogeeks/mop/api/mop/util/InitUtils.java +++ b/android/src/main/java/com/finogeeks/mop/api/mop/util/InitUtils.java @@ -20,6 +20,8 @@ public class InitUtils { uiConfig.setHideForwardMenu((Boolean) map.get("isHideForwardMenu")); uiConfig.setHideRefreshMenu((Boolean) map.get("isHideRefreshMenu")); 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.setHideTransitionCloseButton((Boolean) map.get("hideTransitionCloseButton")); Map capsuleConfigMap = (Map) map.get("capsuleConfig");