Browse Source

Fix dialog copy

Neeraj Gupta 3 years ago
parent
commit
25ef4203cb
1 changed files with 1 additions and 1 deletions
  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));