Skip to content

Commit

Permalink
Revert "feat: 默认隐藏转发按钮"
Browse files Browse the repository at this point in the history
This reverts commit b943f45.
  • Loading branch information
chenhui committed May 18, 2023
1 parent b943f45 commit 5f604b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class _MyAppState extends State<MyApp> {
uiconfig.isClearNavigationBarNavButtonBackground = false;
uiconfig.isHideFeedbackAndComplaints = true;
uiconfig.isHideBackHome = true;
uiconfig.isHideForwardMenu = true;
CapsuleConfig capsuleConfig = CapsuleConfig();
// capsuleConfig.capsuleBgLightColor = 0x33ff00ee;
capsuleConfig.capsuleCornerRadius = 16;
Expand Down
4 changes: 2 additions & 2 deletions lib/mop.dart
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ class UIConfig {
/// 隐藏...弹出菜单中的 【返回首页】 菜单
bool isHideBackHome = false;

/// 隐藏...弹出菜单中的 【转发】 菜单,默认为true(新需求:凡泰助手默认值为true,但是SDK还是默认为false)
bool isHideForwardMenu = true;
/// 隐藏...弹出菜单中的 【转发】 菜单,默认为false
bool isHideForwardMenu = false;

/// 隐藏...弹出菜单中的 【分享】 菜单,默认为true
bool isHideShareAppletMenu = true;
Expand Down

0 comments on commit 5f604b8

Please sign in to comment.