chore: clean up

This commit is contained in:
2024-02-25 15:52:47 +07:00
parent 2c8dd71792
commit 63db8b1423
39 changed files with 88 additions and 2501 deletions

View File

@@ -12,11 +12,9 @@ use keyring::Entry;
use nostr_sdk::prelude::*;
use tauri::Manager;
use tauri_plugin_autostart::MacosLauncher;
use tokio::sync::Mutex;
pub struct Nostr {
client: Client,
contact_list: Mutex<Option<Vec<PublicKey>>>,
}
fn main() {
@@ -68,7 +66,6 @@ fn main() {
// Update global state
handle.manage(Nostr {
client: client.into(),
contact_list: Mutex::new(None),
})
});