Browse Source

Prevent crash in RSS screen when moving away.

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

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

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

Loading…
Cancel
Save