Radish alpha
r
rad:z39mP9rQAaGmERfUMPULfPUi473tY
Radicle terminal user interface
Radicle
Git
bin/inbox: Fix bug in selection on app exit
Merged did:key:z6MkgFq6...nBGz opened 4 months ago

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.

1 file changed +1 -1 e6ddafbc f157fa9f
modified 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;