And a few more crashes fixed in preferences
This commit is contained in:
parent
81887000a8
commit
42484d718a
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue