From 9430c78eb73b907f9a07823a50689fcb97ced528 Mon Sep 17 00:00:00 2001 From: Julian Freeman Date: Tue, 2 Dec 2025 09:28:41 -0400 Subject: [PATCH] bug fix 2 --- src-tauri/tauri.conf.json | 2 +- src/views/History.vue | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index ff620ca..d37c55d 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -13,7 +13,7 @@ "windows": [ { "title": "stream-capture", - "width": 1200, + "width": 1300, "height": 800 } ], diff --git a/src/views/History.vue b/src/views/History.vue index 45ec828..c31af81 100644 --- a/src/views/History.vue +++ b/src/views/History.vue @@ -29,10 +29,8 @@ async function loadHistory() { } async function clearHistory() { - if(confirm('Clear all download history?')) { - await invoke('clear_history') - history.value = [] - } + await invoke('clear_history') + history.value = [] } async function deleteItem(id: string) {