@@ -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
|
||||
|
||||
@@ -20,7 +20,7 @@ local pocket = require("pocket.pocket")
|
||||
local renderer = require("pocket.renderer")
|
||||
local threads = require("pocket.threads")
|
||||
|
||||
local POCKET_VERSION = "v0.12.4-alpha"
|
||||
local POCKET_VERSION = "v0.12.5-alpha"
|
||||
|
||||
local println = util.println
|
||||
local println_ts = util.println_ts
|
||||
|
||||
Reference in New Issue
Block a user