HIGHLIGHT MODE
This commit is contained in:
@@ -33,6 +33,8 @@ pub fn render_ui(
|
||||
buffer_state: &BufferState,
|
||||
theme: &Theme,
|
||||
is_edit_mode: bool,
|
||||
is_highlight_mode: bool,
|
||||
highlight_anchor: Option<(usize, usize)>,
|
||||
total_count: u64,
|
||||
current_position: u64,
|
||||
current_dir: &str,
|
||||
@@ -91,7 +93,9 @@ pub fn render_ui(
|
||||
theme,
|
||||
register_state,
|
||||
app_state,
|
||||
register_state.current_field < 4
|
||||
register_state.current_field < 4,
|
||||
is_highlight_mode,
|
||||
highlight_anchor,
|
||||
);
|
||||
} else if app_state.ui.show_login {
|
||||
render_login(
|
||||
@@ -100,7 +104,9 @@ pub fn render_ui(
|
||||
theme,
|
||||
login_state,
|
||||
app_state,
|
||||
login_state.current_field < 2
|
||||
login_state.current_field < 2,
|
||||
is_highlight_mode,
|
||||
highlight_anchor,
|
||||
);
|
||||
} else if app_state.ui.show_admin {
|
||||
crate::components::admin::admin_panel::render_admin_panel(
|
||||
@@ -165,6 +171,8 @@ pub fn render_ui(
|
||||
&values,
|
||||
theme,
|
||||
is_edit_mode,
|
||||
is_highlight_mode,
|
||||
highlight_anchor,
|
||||
total_count,
|
||||
current_position,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user