Commit d4999185 authored by Geoffrey Métais's avatar Geoffrey Métais

Commit browsing transaction if fragment is visible

parent 3cbfb638
......@@ -286,6 +286,8 @@ public abstract class BaseBrowserFragment extends SortableFragment<BaseBrowserAd
public void browse(MediaWrapper media, int position, boolean save) {
if (!isResumed() || isRemoving())
final FragmentTransaction ft = getActivity().getSupportFragmentManager().beginTransaction();
final Fragment next = createFragment();
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