chore: formatting

This commit is contained in:
zhom
2025-08-18 17:46:52 +04:00
parent 59f430ec43
commit 4df35515ae
7 changed files with 61 additions and 18 deletions
+9 -2
View File
@@ -909,7 +909,11 @@ impl BrowserRunner {
})
}
pub fn delete_profile(&self, app_handle: tauri::AppHandle, profile_id: &str) -> Result<(), Box<dyn std::error::Error>> {
pub fn delete_profile(
&self,
app_handle: tauri::AppHandle,
profile_id: &str,
) -> Result<(), Box<dyn std::error::Error>> {
let profile_manager = ProfileManager::instance();
profile_manager.delete_profile(&app_handle, profile_id)?;
@@ -2009,7 +2013,10 @@ pub fn rename_profile(
}
#[tauri::command]
pub async fn delete_profile(app_handle: tauri::AppHandle, profile_id: String) -> Result<(), String> {
pub async fn delete_profile(
app_handle: tauri::AppHandle,
profile_id: String,
) -> Result<(), String> {
let browser_runner = BrowserRunner::instance();
browser_runner
.delete_profile(app_handle, &profile_id)