feat: immersive onboarding (#189)

* feat: change the default onboarding column

* feat: add newsfeed onboarding

* feat: add topic onboarding

* feat: add group onboarding

* chore: polish and format

* feat: rename foryou to topic

* fix: array
This commit is contained in:
雨宮蓮
2024-05-22 10:44:19 +07:00
committed by GitHub
parent 9b5867f80c
commit 1f38eba2cc
35 changed files with 2291 additions and 2358 deletions

View File

@@ -26,8 +26,10 @@ pub struct Nostr {
fn main() {
tauri::Builder::default()
.setup(|app| {
// Create a custom titlebar for main window
let main_window = app.get_webview_window("main").unwrap();
// Create a custom titlebar for Windows
#[cfg(target_os = "windows")]
main_window.create_overlay_titlebar().unwrap();
// Set a custom inset to the traffic lights
@@ -115,6 +117,7 @@ fn main() {
nostr::metadata::get_current_user_profile,
nostr::metadata::get_profile,
nostr::metadata::get_contact_list,
nostr::metadata::set_contact_list,
nostr::metadata::create_profile,
nostr::metadata::follow,
nostr::metadata::unfollow,