fixes are now in place properly well
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
// src/components/handlers/buffer_list.rs
|
||||
|
||||
use crate::config::colors::themes::Theme;
|
||||
use crate::state::app::state::AppState;
|
||||
// use crate::state::app::buffer::AppView;
|
||||
use crate::state::app::buffer::BufferState;
|
||||
use ratatui::{
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
use std::env;
|
||||
use common::proto::multieko2::table_definition::ProfileTreeResponse;
|
||||
use crate::state::app::buffer::BufferState;
|
||||
use crate::modes::handlers::mode_manager::AppMode;
|
||||
use crate::ui::handlers::context::DialogPurpose;
|
||||
|
||||
|
||||
@@ -63,11 +63,6 @@ pub async fn run_ui() -> Result<(), Box<dyn std::error::Error>> {
|
||||
app_state.ui.show_register = false;
|
||||
app_state.ui.show_admin = false;
|
||||
app_state.ui.show_form = false;
|
||||
// Potentially reset focus flag unless dialog is shown
|
||||
if !app_state.ui.dialog.dialog_show {
|
||||
app_state.ui.focus_outside_canvas = false;
|
||||
}
|
||||
|
||||
match active_view {
|
||||
AppView::Intro => app_state.ui.show_intro = true,
|
||||
AppView::Login => app_state.ui.show_login = true,
|
||||
|
||||
Reference in New Issue
Block a user