diff --git a/src/app.rs b/src/issue.rs similarity index 100% rename from src/app.rs rename to src/issue.rs diff --git a/src/app/event.rs b/src/issue/event.rs similarity index 100% rename from src/app/event.rs rename to src/issue/event.rs diff --git a/src/app/page.rs b/src/issue/page.rs similarity index 100% rename from src/app/page.rs rename to src/issue/page.rs diff --git a/src/app/subscription.rs b/src/issue/subscription.rs similarity index 100% rename from src/app/subscription.rs rename to src/issue/subscription.rs diff --git a/src/main.rs b/src/main.rs index cb545a52..8184b89a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,7 @@ use radicle_tui::Window; use radicle::storage::ReadStorage; use term::{passphrase, spinner}; -mod app; +mod issue; pub const NAME: &str = "radicle-tui"; pub const VERSION: &str = env!("CARGO_PKG_VERSION"); @@ -104,7 +104,10 @@ fn execute() -> anyhow::Result<()> { info!("Launching window..."); let mut window = Window::default(); - window.run(&mut app::App::new(profile, id, project, signer), 1000 / FPS)?; + window.run( + &mut issue::App::new(profile, id, project, signer), + 1000 / FPS, + )?; Ok(()) }