mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: use getter with IntentFilter
This commit is contained in:
parent
64a4051e0f
commit
6bd3683743
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ import javax.inject.Inject
|
|||
class BluetoothBroadcastReceiver @Inject constructor(
|
||||
private val bluetoothRepository: BluetoothRepository
|
||||
) : BroadcastReceiver() {
|
||||
internal val intentFilter = IntentFilter().apply {
|
||||
internal val intentFilter get() = IntentFilter().apply {
|
||||
addAction(BluetoothAdapter.ACTION_STATE_CHANGED)
|
||||
addAction(BluetoothDevice.ACTION_BOND_STATE_CHANGED)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue