Skip to content

Commit

Permalink
Merge pull request #414 from s-cortes/patch-2
Browse files Browse the repository at this point in the history
Use childfragmentmanager instead of freagment manager
  • Loading branch information
naman14 authored Oct 5, 2020
2 parents 1272a34 + d571d33 commit c85d58a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ public boolean onPreferenceClick(Preference preference) {
updateLastFM();
} else {
LastFmLoginDialog lastFmLoginDialog = new LastFmLoginDialog();
lastFmLoginDialog.setTargetFragment(SettingsFragment.this, 0);
lastFmLoginDialog.show(getFragmentManager(), LastFmLoginDialog.FRAGMENT_NAME);
lastFmLoginDialog.show(getChildFragmentManager(), LastFmLoginDialog.FRAGMENT_NAME);

}
return true;
Expand Down

0 comments on commit c85d58a

Please sign in to comment.