Selaa lähdekoodia

修复微信未安装提示文本

Groot 8 kuukautta sitten
vanhempi
commit
9eeefa5fc2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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: ", ""));
     });
   }