refresh_selected_details

Function refresh_selected_details 

Source
pub fn refresh_selected_details(
    app: &mut AppState,
    details_tx: &UnboundedSender<PackageItem>,
)
Expand description

What: Ensure details reflect the currently selected result.

Input: app mutable application state; details_tx channel for details requests Output: No return value; uses cache or sends a details request

Details: If details for the selected item exist in the cache, they are applied immediately; otherwise, the item is sent over details_tx to be fetched asynchronously.