Fix crash: device_updated is boolean not table

This commit is contained in:
2026-05-30 10:33:26 -04:00
parent 1cef347e9c
commit 1621f1eaa2
-4
View File
@@ -820,10 +820,6 @@ function Bookhoard:_doUpdateProgress(interactive)
UIManager:nextTick(function()
if ok then
logger.dbg("Bookhoard: progress pushed successfully")
if result and result.device_updated and result.device_updated.uuid then
self.ui.doc_settings:saveSetting("bookhoard_uuid", result.device_updated.uuid)
self.ui.doc_settings:flush()
end
if interactive then
UIManager:show(InfoMessage:new{
text = _("Progress has been pushed."),