chore: restructure ui components
Rust / build (macos-latest, stable) (push) Canceled after 0s
Rust / build (ubuntu-latest, stable) (push) Canceled after 0s
Rust / build (windows-latest, stable) (push) Canceled after 0s

This commit is contained in:
2026-11-27 21:05:37 +07:00
parent db3d53f2aa
commit 44c2dc6345
114 changed files with 9117 additions and 7675 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ fn main() {
SettingsStore::set_global(store.clone(), cx);
let settings = store.read(cx).settings().clone();
signed_app::apply_appearance_mode(settings.appearance, cx);
signed_app::AppRoot::apply_appearance_mode(settings.appearance, cx);
if let Err(error) = std::fs::create_dir_all(paths::nostr_dir()) {
tracing::warn!("failed to create nostr dir: {error}");
@@ -107,7 +107,7 @@ fn main() {
cx.refresh_windows();
})
.detach();
signed_app::root(window, cx)
signed_app::AppRoot::mount(window, cx)
}) {
tracing::error!("failed to open window: {error}");
cx.quit();