Skip to content

Commit

Permalink
refactor(render): Move window module into render
Browse files Browse the repository at this point in the history
  • Loading branch information
sarub0b0 committed Mar 20, 2024
1 parent ecb8602 commit 3cc3e29
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ mod kube;
mod logging;
mod message;
mod ui;
mod window;
mod workers;

use std::panic;
Expand Down
7 changes: 5 additions & 2 deletions src/workers/render.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
mod action;
mod window;

use std::{
cell::RefCell,
Expand All @@ -20,10 +21,12 @@ use crate::{
message::Message,
panic_set_hook,
ui::WindowAction,
window::WindowInit,
};

use self::action::{update_contents, window_action};
use self::{
action::{update_contents, window_action},
window::WindowInit,
};

pub struct Render {
tx: Sender<Message>,
Expand Down
File renamed without changes.

0 comments on commit 3cc3e29

Please sign in to comment.