From f157fa9f06d8c5be261f48c223cf3d271a8367a9 Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Mon, 8 Dec 2025 01:08:18 +0100 Subject: [PATCH] bin/inbox: Fix selection bug There was a regression on the notification selection when exiting the app, where the selected notification from the unfiltered instead of the filtered list was returned. --- bin/commands/inbox/list/ui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/commands/inbox/list/ui.rs b/bin/commands/inbox/list/ui.rs index 4b71917d..a95e4046 100644 --- a/bin/commands/inbox/list/ui.rs +++ b/bin/commands/inbox/list/ui.rs @@ -68,7 +68,7 @@ impl From<&State> for BrowserProps<'_> { RepositoryMode::ByRepo((_, name)) => name.clone().unwrap_or_default(), }; - let notifications = state.browser.items.lock().unwrap().to_vec(); + let notifications = state.browser.items(); // Compute statistics let mut seen = 0;