Commit 96d36369 authored by Edward Wang's avatar Edward Wang Committed by Jean-Baptiste Kempf
Browse files

Allow refreshing the history


Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 3318db6d
......@@ -377,6 +377,8 @@ public class MainActivity extends SherlockFragmentActivity {
DirectoryViewFragment directoryView = (DirectoryViewFragment) mSidebarAdapter.getFragment(mCurrentFragment);
directoryView.refresh();
}
else if(mCurrentFragment.equals("history"))
((HistoryFragment)mSidebarAdapter.getFragment(mCurrentFragment)).refresh();
else
MediaLibrary.getInstance(this).loadMediaItems(this);
break;
......
Supports Markdown
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