Fix some toasts and notification position
This commit is contained in:
parent
b51e6a5e73
commit
0aa17ae18e
4 changed files with 35 additions and 9 deletions
|
|
@ -141,4 +141,13 @@ Singleton {
|
|||
device.trusted = true
|
||||
device.connect()
|
||||
}
|
||||
|
||||
function setBluetoothEnabled(enabled) {
|
||||
if (!adapter) {
|
||||
console.warn("BluetoothService: No adapter available")
|
||||
return
|
||||
}
|
||||
|
||||
adapter.enabled = enabled
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue