setup routes

This commit is contained in:
2024-10-10 20:40:25 +01:00
parent abfcbc8954
commit 67d6381123
20 changed files with 1194 additions and 490 deletions

View File

@ -1,19 +1 @@
use crate::services::profile::ProfileService;
use egui::Context;
use nostr_sdk::Client;
pub mod profile;
pub struct Services {
pub context: Context,
pub profile: ProfileService,
}
impl Services {
pub fn new(client: Client, context: Context) -> Self {
Self {
context: context.clone(),
profile: ProfileService::new(client.clone(), context.clone()),
}
}
}
pub mod profile;