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