From 76cef4757ab4125981c4e533b8fe01de76c1e184 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Wed, 6 Aug 2025 05:29:39 +0400 Subject: [PATCH] chore: cleanup --- src-tauri/src/profile/manager.rs | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/src-tauri/src/profile/manager.rs b/src-tauri/src/profile/manager.rs index 64521fa..9080c5b 100644 --- a/src-tauri/src/profile/manager.rs +++ b/src-tauri/src/profile/manager.rs @@ -34,6 +34,7 @@ impl ProfileManager { path } + #[allow(clippy::too_many_arguments)] pub async fn create_profile( &self, app_handle: &tauri::AppHandle, @@ -58,32 +59,6 @@ impl ProfileManager { .await } - // Synchronous version for tests that doesn't generate fingerprints - #[cfg(test)] - pub async fn create_profile_sync( - &self, - app_handle: &tauri::AppHandle, - name: &str, - browser: &str, - version: &str, - release_type: &str, - proxy_id: Option, - camoufox_config: Option, - ) -> Result> { - self - .create_profile_with_group( - app_handle, - name, - browser, - version, - release_type, - proxy_id, - camoufox_config, - None, - ) - .await - } - #[allow(clippy::too_many_arguments)] pub async fn create_profile_with_group( &self,