diff --git a/android/build.gradle b/android/build.gradle index b74f32d..ed9f964 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -91,6 +91,6 @@ kapt { } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') - implementation 'com.finogeeks.lib:finapplet:2.40.0-dev20230315v02' - implementation 'com.finogeeks.mop:plugins:2.40.0-dev20230315v02' + implementation 'com.finogeeks.lib:finapplet:2.40.0-dev20230323v02' + implementation 'com.finogeeks.mop:plugins:2.40.0-dev20230323v02' } \ No newline at end of file diff --git a/lib/mop.dart b/lib/mop.dart index 292dc4e..2a0ccba 100644 --- a/lib/mop.dart +++ b/lib/mop.dart @@ -72,6 +72,12 @@ class UIConfig { ///是否隐藏"更多"菜单中的"分享"按钮 bool isHideShareAppletMenu = true; + ///是否隐藏"更多"菜单中的"添加到桌面"按钮 + bool isHideAddToDesktopMenu = true; + + ///是否隐藏"更多"菜单中的"收藏"按钮 + bool isHideFavoriteMenu = true; + /// 加载小程序过程中(小程序Service层还未加载成功,基础库还没有向SDK传递小程序配置信息),是否隐藏导航栏的关闭按钮 bool hideTransitionCloseButton = false; @@ -107,6 +113,8 @@ class UIConfig { "isHideBackHome": isHideBackHome, "isHideForwardMenu": isHideForwardMenu, "isHideShareAppletMenu": isHideShareAppletMenu, + "isHideAddToDesktopMenu": isHideAddToDesktopMenu, + "isHideFavoriteMenu": isHideFavoriteMenu, "hideTransitionCloseButton": hideTransitionCloseButton, "disableSlideCloseAppletGesture": disableSlideCloseAppletGesture, "capsuleConfig": capsuleConfig?.toMap(),