Commit 1d308fed authored by Sébastien Toque's avatar Sébastien Toque
Browse files

do not animate untagged fragments

parent 5c5d1168
......@@ -529,7 +529,7 @@ public class MainActivity extends SherlockFragmentActivity {
else if (mTag.equalsIgnoreCase("audio"))
((MainActivity)mActivity).mCurrentViewTab = AUDIO_TAB;
if (current != null) {
if (current != null && current.getTag() != null) {
if (current.getTag() == mTag)
if (mTag.equalsIgnoreCase("video"))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment