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) {