add icons

This commit is contained in:
2026-08-07 08:11:54 +07:00
parent b137f54a66
commit a734141837
107 changed files with 440 additions and 3 deletions
+3 -3
View File
@@ -1,3 +1,5 @@
#[cfg(not(target_arch = "wasm32"))]
use std::path::Path;
use std::time::Duration;
use anyhow::{Context, Result};
@@ -16,9 +18,7 @@ use crate::signer::UniversalSigner;
/// The SDK manages its own internal tokio runtime; the returned client can be
/// driven by GPUI's executors.
#[cfg(not(target_arch = "wasm32"))]
pub async fn new_backend(
db_path: impl AsRef<std::path::Path>,
) -> Result<(Client, UniversalSigner)> {
pub async fn new_backend(db_path: impl AsRef<Path>) -> Result<(Client, UniversalSigner)> {
let signer = UniversalSigner::new(Keys::generate());
let database = NostrLmdb::open(db_path)
.await