Skip to content
Snippets Groups Projects
Commit 1a5085f4 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

account preference: use child fragment manager when appropriate

Change-Id: I12a2dcedc03ac884e03830f8775448608e9b540e
parent 242876d5
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,7 @@ public class GeneralAccountFragment extends BasePreferenceFragment<GeneralAccoun
@Override
public void onDisplayPreferenceDialog(Preference preference) {
FragmentManager fragmentManager = requireFragmentManager();
FragmentManager fragmentManager = getChildFragmentManager();
if (fragmentManager.findFragmentByTag(DIALOG_FRAGMENT_TAG) != null) {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment