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.
This commit is contained in:
Erik Kundt
2025-12-08 01:08:41 +01:00
parent e6ddafbc5f
commit f157fa9f06
+1 -1
View File
@@ -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;