Skip to main content

clear_if_showing

Function clear_if_showing 

Source
fn clear_if_showing(state: &AppState, block_id: &str, id: &str)
Expand description

Take the bar down if it shows offer id. The bar is block meta, kept across an srv restart, while the pair it offered is held only in memory: a bar whose pair has gone would otherwise stay up with buttons that do nothing.