Support copying error text

This commit is contained in:
Hillel Coren 2020-11-26 18:09:32 +02:00
parent 7c8467e91d
commit 5860c93278
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class ErrorDialog extends StatelessWidget {
return AlertDialog(
title: Text(localization.error),
content: error != null ? Text(error.toString()) : SizedBox(),
content: error != null ? SelectableText(error.toString()) : SizedBox(),
actions: [
if (clearErrorOnDismiss && !Config.DEMO_MODE)
FlatButton(