And a few more crashes fixed in preferences

This commit is contained in:
len 2016-07-03 21:19:34 +02:00
parent 81887000a8
commit 42484d718a
3 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ class SettingsGeneralFragment : SettingsFragment(),
if (p.key == getString(R.string.pref_library_columns_dialog_key)) {
val fragment = LibraryColumnsDialog.newInstance(p)
fragment.setTargetFragment(this, 0)
fragment.show(childFragmentManager, null)
fragment.show(fragmentManager, null)
return true
}
return false

View File

@ -73,7 +73,7 @@ class SettingsSourcesFragment : SettingsFragment() {
setOnPreferenceClickListener {
val fragment = SourceLoginDialog.newInstance(source)
fragment.setTargetFragment(this@SettingsSourcesFragment, SOURCE_CHANGE_REQUEST)
fragment.show(childFragmentManager, null)
fragment.show(fragmentManager, null)
true
}

View File

@ -42,7 +42,7 @@ class SettingsSyncFragment : SettingsFragment() {
setOnPreferenceClickListener {
val fragment = MangaSyncLoginDialog.newInstance(sync)
fragment.setTargetFragment(this@SettingsSyncFragment, SYNC_CHANGE_REQUEST)
fragment.show(childFragmentManager, null)
fragment.show(fragmentManager, null)
true
}
}