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