소스 검색

修复微信未安装提示文本

Groot 6 달 전
부모
커밋
9eeefa5fc2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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: ", ""));
     });
   }