mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 03:09:19 +01:00
And a few more crashes fixed in preferences
This commit is contained in:
parent
81887000a8
commit
42484d718a
@ -79,7 +79,7 @@ class SettingsGeneralFragment : SettingsFragment(),
|
|||||||
if (p.key == getString(R.string.pref_library_columns_dialog_key)) {
|
if (p.key == getString(R.string.pref_library_columns_dialog_key)) {
|
||||||
val fragment = LibraryColumnsDialog.newInstance(p)
|
val fragment = LibraryColumnsDialog.newInstance(p)
|
||||||
fragment.setTargetFragment(this, 0)
|
fragment.setTargetFragment(this, 0)
|
||||||
fragment.show(childFragmentManager, null)
|
fragment.show(fragmentManager, null)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
@ -73,7 +73,7 @@ class SettingsSourcesFragment : SettingsFragment() {
|
|||||||
setOnPreferenceClickListener {
|
setOnPreferenceClickListener {
|
||||||
val fragment = SourceLoginDialog.newInstance(source)
|
val fragment = SourceLoginDialog.newInstance(source)
|
||||||
fragment.setTargetFragment(this@SettingsSourcesFragment, SOURCE_CHANGE_REQUEST)
|
fragment.setTargetFragment(this@SettingsSourcesFragment, SOURCE_CHANGE_REQUEST)
|
||||||
fragment.show(childFragmentManager, null)
|
fragment.show(fragmentManager, null)
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ class SettingsSyncFragment : SettingsFragment() {
|
|||||||
setOnPreferenceClickListener {
|
setOnPreferenceClickListener {
|
||||||
val fragment = MangaSyncLoginDialog.newInstance(sync)
|
val fragment = MangaSyncLoginDialog.newInstance(sync)
|
||||||
fragment.setTargetFragment(this@SettingsSyncFragment, SYNC_CHANGE_REQUEST)
|
fragment.setTargetFragment(this@SettingsSyncFragment, SYNC_CHANGE_REQUEST)
|
||||||
fragment.show(childFragmentManager, null)
|
fragment.show(fragmentManager, null)
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user