UI support to cleanup bluetooth bonded devices (#757)

Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>
This commit is contained in:
Jussi Vatjus-Anttila
2024-01-30 01:38:54 +02:00
committed by GitHub
parent c481720dd7
commit 806bfa4087
7 changed files with 61 additions and 0 deletions

View File

@@ -50,6 +50,12 @@ module.exports = function DeviceSettingsCtrl($scope, $timeout) {
}
}
$scope.cleanBluetoothBondedDevices = function() {
if ($scope.control) {
$scope.control.cleanBluetoothBondedDevices()
}
}
$scope.$watch('ringerMode', function(newValue, oldValue) {
if (oldValue) {
if ($scope.control) {