mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 02:45:31 +01:00
Small improvement
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user