feat: create BLEDeviceListEntry class

This commit is contained in:
andrekir 2023-04-01 08:03:32 -03:00
parent d4c125b962
commit effc450af8
2 changed files with 9 additions and 6 deletions

View file

@ -252,11 +252,7 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
?.let { device ->
scanModel.onSelected(
myActivity,
BTScanModel.DeviceListEntry(
device.name,
"x${device.address}",
device.bondState == BluetoothDevice.BOND_BONDED
)
BTScanModel.BLEDeviceListEntry(device)
)
}
}