captains-log

[TO-FIX] audiojournaling app
git clone git://git.figbert.com/captains-log.git
Log | Files | Refs

commit 63ed72325d121a58ca15b358a34156630f4fa609
parent 91d9670d74f0354cd165521ad2abd6a8cb969c62
Author: therealFIGBERT <figbertwelner@gmail.com>
Date:   Sat,  9 Nov 2019 15:12:03 -0800

Making recording end when paused and settings is opened

Diffstat:
McaptainsLog/ContentView.swift | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/captainsLog/ContentView.swift b/captainsLog/ContentView.swift @@ -78,7 +78,11 @@ struct ContentView: View { } NavigationLink(destination: Settings()) { imgTextButtonStyle(sysImg: "gear", imgSize: 15, buttonText: "Settings") - } + }.simultaneousGesture(TapGesture().onEnded{ + self.timeElapsed = 0.00 + self.audioRecorder.endRecording() + self.globalVars.dateListPos = 0 + }) } } Spacer()