Ver código fonte

修复微信未安装提示文本

Groot 6 meses atrás
pai
commit
9eeefa5fc2

+ 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: ", ""));
     });
   }