Browse Source

修复微信未安装提示文本

Groot 6 months ago
parent
commit
9eeefa5fc2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/module/add_friend/add_friend_dialog_controller.dart

+ 1 - 1
lib/module/add_friend/add_friend_dialog_controller.dart

@@ -90,7 +90,7 @@ class AddFriendDialogController extends BaseController {
 
   void _shareToWechat() async {
     WechatShareUtil.shareWebPage().catchError((error) {
-      ToastUtil.show(error.toString());
+      ToastUtil.show(error.toString().replaceFirst("Exception: ", ""));
     });
   }