Small improvement

pull/214/head
M66B 11 months ago
parent 19af331516
commit 7f34ddb583

@ -1843,9 +1843,12 @@ public class Log {
final Context context = getContext();
LayoutInflater inflater = LayoutInflater.from(context);
View dview = inflater.inflate(R.layout.dialog_unexpected, null);
TextView tvCaption = dview.findViewById(R.id.tvCaption);
TextView tvError = dview.findViewById(R.id.tvError);
Button btnHelp = dview.findViewById(R.id.btnHelp);
tvCaption.setText(report ? R.string.title_unexpected_error : R.string.title_setup_error);
String message = Log.formatThrowable(ex, false);
tvError.setText(message);

Loading…
Cancel
Save