wip: refactor

This commit is contained in:
2024-12-07 15:08:47 +07:00
parent c8315a2f93
commit 187d0078f9
20 changed files with 7609 additions and 330 deletions

View File

@@ -12,13 +12,13 @@ use std::{
use constants::{APP_NAME, FAKE_SIG};
use states::account::AccountState;
use ui::app::AppView;
use views::app::AppView;
pub mod asset;
pub mod constants;
pub mod states;
pub mod ui;
pub mod utils;
pub mod views;
actions!(main_menu, [Quit]);
@@ -138,6 +138,8 @@ async fn main() {
cx.open_window(opts, |cx| {
let app_view = cx.new_view(AppView::new);
cx.activate(true);
cx.new_view(|cx| Root::new(app_view.into(), cx))
})
.unwrap();