Make reindex button work; no feedback yet

This commit is contained in:
jacqueline
2024-01-17 12:09:14 +11:00
parent 71b4673039
commit a4d03fc704
2 changed files with 13 additions and 4 deletions
+4 -4
View File
@@ -6,6 +6,7 @@ local volume = require("volume")
local display = require("display")
local controls = require("controls")
local bluetooth = require("bluetooth")
local database = require("database")
local settings = {}
@@ -74,7 +75,6 @@ function settings.bluetooth()
local clear_paired = paired_container:Button {}
clear_paired:Label { text = "x" }
clear_paired:onClicked(function()
print("clear dev")
bluetooth.paired_device:set()
end)
@@ -277,9 +277,9 @@ function settings.database()
local update = actions_container:Button {}
update:Label { text = "Update" }
local recreate = actions_container:Button {}
recreate:Label { text = "Recreate" }
update:onClicked(function()
database.update()
end)
end
function settings.firmware()