feat:新增“添加到桌面”、“收藏”的显隐配置项;

master
yangbinqiao 2023-03-23 18:35:27 +08:00
parent 07502871fe
commit 6f2147a988
2 changed files with 10 additions and 2 deletions

View File

@ -91,6 +91,6 @@ kapt {
} }
dependencies { dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs') implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.finogeeks.lib:finapplet:2.39.11' implementation 'com.finogeeks.lib:finapplet:2.40.0-dev20230323v02'
implementation 'com.finogeeks.mop:plugins:2.39.11' implementation 'com.finogeeks.mop:plugins:2.40.0-dev20230323v02'
} }

View File

@ -72,6 +72,12 @@ class UIConfig {
///"更多""分享" ///"更多""分享"
bool isHideShareAppletMenu = true; bool isHideShareAppletMenu = true;
///"更多""添加到桌面"
bool isHideAddToDesktopMenu = true;
///"更多""收藏"
bool isHideFavoriteMenu = true;
/// ServiceSDK /// ServiceSDK
bool hideTransitionCloseButton = false; bool hideTransitionCloseButton = false;
@ -104,6 +110,8 @@ class UIConfig {
"isHideBackHome": isHideBackHome, "isHideBackHome": isHideBackHome,
"isHideForwardMenu": isHideForwardMenu, "isHideForwardMenu": isHideForwardMenu,
"isHideShareAppletMenu": isHideShareAppletMenu, "isHideShareAppletMenu": isHideShareAppletMenu,
"isHideAddToDesktopMenu": isHideAddToDesktopMenu,
"isHideFavoriteMenu": isHideFavoriteMenu,
"hideTransitionCloseButton": hideTransitionCloseButton, "hideTransitionCloseButton": hideTransitionCloseButton,
"disableSlideCloseAppletGesture": disableSlideCloseAppletGesture, "disableSlideCloseAppletGesture": disableSlideCloseAppletGesture,
"capsuleConfig": capsuleConfig?.toMap(), "capsuleConfig": capsuleConfig?.toMap(),