feat: add editor screen

This commit is contained in:
2024-02-23 14:56:24 +07:00
parent 64286aa354
commit 84584a4d1f
39 changed files with 917 additions and 493 deletions

View File

@@ -14,7 +14,7 @@ use tauri_plugin_autostart::MacosLauncher;
use tokio::sync::Mutex;
pub struct Nostr {
client: Mutex<Client>,
client: Client,
contact_list: Mutex<Option<Vec<PublicKey>>>,
}
@@ -66,7 +66,7 @@ fn main() {
// Update global state
handle.manage(Nostr {
client: Mutex::new(client),
client: client.into(),
contact_list: Mutex::new(None),
})
});