From a94691eb82be0f6904f8f15892f535f568f98879 Mon Sep 17 00:00:00 2001 From: Omar Ashraf Date: Sat, 22 Jun 2024 05:56:35 +0300 Subject: [PATCH] add ability to double tap program to run --- Whisky/Views/Programs/ProgramsView.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Whisky/Views/Programs/ProgramsView.swift b/Whisky/Views/Programs/ProgramsView.swift index 92663d67..992f95cb 100644 --- a/Whisky/Views/Programs/ProgramsView.swift +++ b/Whisky/Views/Programs/ProgramsView.swift @@ -190,6 +190,9 @@ struct ProgramItemView: View { .onHover { hover in showButtons = hover } + .onTapGesture(count: 2) { + program.run() + } } }