mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-11-29 21:42:33 +01:00
fixed crash during crash report
This commit is contained in:
parent
f90a1ede70
commit
3c93c4714e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user