Don't use main term

This commit is contained in:
Wojciech Kozlowski 2024-08-29 15:32:15 +02:00
parent 3596dac800
commit 5a446ad4b8

View File

@ -685,7 +685,7 @@ impl Ui {
Self::render_columns(mb.paragraphs, mb.columns, false, area, fr); Self::render_columns(mb.paragraphs, mb.columns, false, area, fr);
} }
fn render_main_frame( fn render_browse_frame(
artists: &Collection, artists: &Collection,
selection: &mut Selection, selection: &mut Selection,
state: &AppPublicState, state: &AppPublicState,
@ -815,7 +815,7 @@ impl IUi for Ui {
let selection = app.inner.selection; let selection = app.inner.selection;
let state = app.state; let state = app.state;
Self::render_main_frame(collection, selection, &state, frame); Self::render_browse_frame(collection, selection, &state, frame);
match state { match state {
AppState::Info(_) => Self::render_info_overlay(collection, selection, frame), AppState::Info(_) => Self::render_info_overlay(collection, selection, frame),
AppState::Matches(public) => { AppState::Matches(public) => {