Revert "Remove deprecated useless code"
This reverts commit f9d16265c7.
This commit is contained in:
@@ -151,6 +151,7 @@ class SettingsPreferenceFragment : PreferenceFragmentCompat() {
|
|||||||
setArguments(preference.key, Services.connectivity.allNetworks.mapNotNull {
|
setArguments(preference.key, Services.connectivity.allNetworks.mapNotNull {
|
||||||
Services.connectivity.getLinkProperties(it)?.allInterfaceNames
|
Services.connectivity.getLinkProperties(it)?.allInterfaceNames
|
||||||
}.flatten().toTypedArray())
|
}.flatten().toTypedArray())
|
||||||
|
setTargetFragment(this@SettingsPreferenceFragment, 0)
|
||||||
}.showAllowingStateLoss(parentFragmentManager, preference.key)
|
}.showAllowingStateLoss(parentFragmentManager, preference.key)
|
||||||
else -> super.onDisplayPreferenceDialog(preference)
|
else -> super.onDisplayPreferenceDialog(preference)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user