only consider BLE pairing for addressValid

This commit is contained in:
andrekir 2022-02-12 19:33:30 -03:00
parent c04c1b4add
commit eb5abb4be9
2 changed files with 4 additions and 5 deletions

View file

@ -813,7 +813,7 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
if (curRadio != null && !MockInterface.addressValid(requireContext(), "")) {
binding.warningNotPaired.visibility = View.GONE
// binding.scanStatusText.text = getString(R.string.current_pair).format(curRadio)
} else {
} else if (model.bluetoothEnabled.value == true){
binding.warningNotPaired.visibility = View.VISIBLE
binding.scanStatusText.text = getString(R.string.not_paired_yet)
}