From acb5a1cbf98736697fc569a766b837ebdc32d355 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Sun, 6 Oct 2024 21:14:39 -0400 Subject: [PATCH] #555 fixed sidebar bug caused by #552 --- pocket/pocket.lua | 2 +- pocket/startup.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pocket/pocket.lua b/pocket/pocket.lua index a625907..045a479 100644 --- a/pocket/pocket.lua +++ b/pocket/pocket.lua @@ -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 diff --git a/pocket/startup.lua b/pocket/startup.lua index 0bdfed5..074da8b 100644 --- a/pocket/startup.lua +++ b/pocket/startup.lua @@ -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