From 6f2147a98812d97276b00e3c0e4c4a282d45419b Mon Sep 17 00:00:00 2001 From: yangbinqiao Date: Thu, 23 Mar 2023 18:35:27 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=96=B0=E5=A2=9E=E2=80=9C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=B0=E6=A1=8C=E9=9D=A2=E2=80=9D=E3=80=81?= =?UTF-8?q?=E2=80=9C=E6=94=B6=E8=97=8F=E2=80=9D=E7=9A=84=E6=98=BE=E9=9A=90?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E9=A1=B9=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/build.gradle | 4 ++-- lib/mop.dart | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index bf08398..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.39.11' - implementation 'com.finogeeks.mop:plugins:2.39.11' + 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 49c7904..e657560 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; @@ -104,6 +110,8 @@ class UIConfig { "isHideBackHome": isHideBackHome, "isHideForwardMenu": isHideForwardMenu, "isHideShareAppletMenu": isHideShareAppletMenu, + "isHideAddToDesktopMenu": isHideAddToDesktopMenu, + "isHideFavoriteMenu": isHideFavoriteMenu, "hideTransitionCloseButton": hideTransitionCloseButton, "disableSlideCloseAppletGesture": disableSlideCloseAppletGesture, "capsuleConfig": capsuleConfig?.toMap(),