From cf7abc53a90eff5451c4ee6a807c2e6574430ae1 Mon Sep 17 00:00:00 2001 From: stweedo <108593831+stweedo@users.noreply.github.com> Date: Fri, 27 Jun 2025 07:47:18 -0500 Subject: [PATCH] recorder: Remove confirmation before delete MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The confirmation wasn’t showing on mobile so there was no way to delete a track. Switched back to the original delete immediately behavior. --- apps/recorder/interface.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/apps/recorder/interface.html b/apps/recorder/interface.html index 0c5a95f83..0830f89ae 100644 --- a/apps/recorder/interface.html +++ b/apps/recorder/interface.html @@ -829,13 +829,11 @@ ${trackData.Latitude ? ` switch(task) { case "delete": - if (confirm(`Are you sure you want to delete Track ${trackid}?`)) { - Util.showModal(`Deleting ${filename}...`); - Util.eraseStorageFile(filename, () => { - Util.hideModal(); - getTrackList(); - }); - } + Util.showModal(`Deleting ${filename}...`); + Util.eraseStorageFile(filename, () => { + Util.hideModal(); + getTrackList(); + }); break; case "downloadkml": downloadTrack(filename, track => saveKML(track, `Bangle.js Track ${trackid}`)); @@ -906,4 +904,4 @@ function onInit() { - \ No newline at end of file +