浏览代码

Fix dialog copy

Neeraj Gupta 3 年之前
父节点
当前提交
25ef4203cb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/utils/email_util.dart

+ 1 - 1
lib/utils/email_util.dart

@@ -137,7 +137,7 @@ Future<void> _sendLogs(
   } catch (e, s) {
     _logger.severe('email sender failed', e, s);
     final result = await showChoiceDialog(
-        context, "email logs", "please send the logs to email",
+        context, "email logs", "please send the logs to $toEmail",
         firstAction: "copy email", secondAction: "ok");
     if (result != null && result == DialogUserChoice.firstChoice) {
       await Clipboard.setData(ClipboardData(text: toEmail));