Support copying error text
This commit is contained in:
parent
7c8467e91d
commit
5860c93278
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue