Support copying error text
This commit is contained in:
parent
7c8467e91d
commit
5860c93278
|
|
@ -21,7 +21,7 @@ class ErrorDialog extends StatelessWidget {
|
||||||
|
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
title: Text(localization.error),
|
title: Text(localization.error),
|
||||||
content: error != null ? Text(error.toString()) : SizedBox(),
|
content: error != null ? SelectableText(error.toString()) : SizedBox(),
|
||||||
actions: [
|
actions: [
|
||||||
if (clearErrorOnDismiss && !Config.DEMO_MODE)
|
if (clearErrorOnDismiss && !Config.DEMO_MODE)
|
||||||
FlatButton(
|
FlatButton(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue