fixed crash during crash report

pull/224/head
Christian Schabesberger 2016-02-29 21:13:02 +01:00
rodzic f90a1ede70
commit 3c93c4714e
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -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