mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-09-05 04:17:55 +00:00
fixed crash during crash report
This commit is contained in:
@@ -187,7 +187,12 @@ public class ErrorActivity extends AppCompatActivity {
|
||||
globIpRangeThread = new Thread(new IpRagneRequester());
|
||||
globIpRangeThread.start();
|
||||
|
||||
errorMessageView.setText(errorInfo.message);
|
||||
if(errorInfo.message != 0) {
|
||||
errorMessageView.setText(errorInfo.message);
|
||||
} else {
|
||||
errorMessageView.setVisibility(View.GONE);
|
||||
findViewById(R.id.messageWhatHappenedView).setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user