feat:新增“添加到桌面”、“收藏”的显隐配置项;
parent
07502871fe
commit
6f2147a988
|
@ -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'
|
||||
}
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue