#555 fixed sidebar bug caused by #552

This commit is contained in:
Mikayla Fischler
2024-10-06 21:14:39 -04:00
parent 4e5858bd2d
commit acb5a1cbf9
2 changed files with 2 additions and 2 deletions

View File

@@ -167,9 +167,9 @@ function pocket.init_nav(smem)
-- configure the sidebar
---@param items sidebar_entry[]
function app.set_sidebar(items)
app.sidebar_items = items
-- only modify the sidebar if this app is still open
if self.cur_app == app_id then
app.sidebar_items = items
if self.sidebar then self.sidebar.update(items) end
end
end