Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

feat: remove unused greet function from AppState

Tonho7a990081125b
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index 6a8b7764..7810a778 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -25,11 +25,6 @@ pub struct AppState {
pub session_validated_at: Arc<tokio::sync::Mutex<Option<std::time::Instant>>>,
}
-#[tauri::command]
-fn greet(name: &str) -> String {
- format!("Hello, {}! You've been greeted from Rust!", name)
-}
-
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tracing_subscriber::fmt::init();
@@ -90,7 +85,6 @@ pub fn run() {
.plugin(tauri_plugin_notification::init())
.plugin(tauri_plugin_fs::init())
.invoke_handler(tauri::generate_handler![
- greet,
commands::auth::hotmart_login,
commands::auth::hotmart_check_session,
commands::auth::hotmart_logout,