diff --git a/radicle-tui/src/ui.rs b/radicle-tui/src/ui.rs index 90de1aa6..23d5bc58 100644 --- a/radicle-tui/src/ui.rs +++ b/radicle-tui/src/ui.rs @@ -4,9 +4,6 @@ pub mod state; pub mod theme; pub mod widget; -use tuirealm::props::Attribute; -use tuirealm::{MockComponent, StateValue}; - use components::container::{GlobalListener, LabeledContainer, Tabs}; use components::context::{Shortcut, Shortcuts}; use components::label::Label; @@ -14,6 +11,9 @@ use components::list::{Property, PropertyList}; use components::workspace::Workspaces; use widget::Widget; +use tuirealm::props::{AttrValue, Attribute}; +use tuirealm::MockComponent; + pub fn global_listener() -> Widget { Widget::new(GlobalListener::default()) } @@ -21,9 +21,11 @@ pub fn global_listener() -> Widget { pub fn label(content: &str) -> Widget