mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-16 00:10:38 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user