fixed error where jsoup wouldn't show app on refresh
This commit is contained in:
parent
3e5d901589
commit
72da66ee0a
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ public class RoomFragment extends Fragment {
|
|||
toolbar.setNavigationIcon(null);
|
||||
}
|
||||
if (newRoomData.error instanceof java.net.SocketTimeoutException || newRoomData.error instanceof java.net.UnknownHostException) {
|
||||
headerTextView.setText(R.string.jsoup_error);
|
||||
headerTextView.setText(getResources().getString(R.string.jsoup_error, roomData.error));
|
||||
toolbar.setNavigationIcon(null);
|
||||
}
|
||||
if (roomData.error == null && header != null) {
|
||||
|
|
Reference in a new issue