Browse Source

Prevent crash in RSS screen when moving away.

pull/11/head
Eric Kok 13 years ago
parent
commit
98828e8b54
  1. 4
      android/src/org/transdroid/gui/rss/RssListingFragment.java

4
android/src/org/transdroid/gui/rss/RssListingFragment.java

@ -501,7 +501,9 @@ public class RssListingFragment extends Fragment implements OnTouchListener, OnS @@ -501,7 +501,9 @@ public class RssListingFragment extends Fragment implements OnTouchListener, OnS
private void setProgressBar(boolean b) {
inProgress = b;
getSupportActivity().invalidateOptionsMenu();
if (getSupportActivity() != null) {
getSupportActivity().invalidateOptionsMenu();
}
}
/*@Override

Loading…
Cancel
Save