Better theme export

This commit is contained in:
Gregory Schier committed 2024-05-24 18:54:30 -07:00
1 parent f3024a259e
commit 4f736b4656
3 files changed
+24 -29

No files matched your search

+1 -1
View File
@@ -1293,7 +1293,7 @@ async fn cmd_update_folder(folder: Folder, w: WebviewWindow) -> Result<Folder, S
}
#[tauri::command]
async fn cmd_write_file_dev(w: WebviewWindow, pathname: &str, contents: &str) -> Result<(), String> {
async fn cmd_write_file_dev(pathname: &str, contents: &str) -> Result<(), String> {
if !is_dev() {
panic!("Cannot write arbitrary files when not in dev mode");
}