fix: udp toggle display logic (#1728)

This commit is contained in:
James Rich 2025-03-27 20:40:25 -05:00 committed by GitHub
parent 690e05affc
commit b20fb93e8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -277,7 +277,7 @@ fun NetworkConfigItemList(
}) })
} }
item { Divider() } item { Divider() }
if (hasEthernet && hasWifi) { if (hasEthernet || hasWifi) {
item { item {
PreferenceCategory(text = stringResource(R.string.udp_config)) PreferenceCategory(text = stringResource(R.string.udp_config))
} }