captains-log

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

commit 1d32ad70f01d8fbdd953b882eab3d86af27348f7
parent 833bece6de6078cf2baea2121df54f1966eb26d2
Author: therealFIGBERT <figbertwelner@gmail.com>
Date:   Fri, 18 Oct 2019 11:51:42 -0700

Adjusting prompt timing

Diffstat:
McaptainsLog/ContentView.swift | 12++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/captainsLog/ContentView.swift b/captainsLog/ContentView.swift @@ -53,9 +53,13 @@ struct ContentView: View { self.timer = Timer.scheduledTimer(withTimeInterval: 0.01, repeats: true, block: { timer in self.timeElapsed += 0.01 if (self.timeElapsed <= 1) { - self.msg = "Captain's log" - } else if (self.timeElapsed) <= 3 { - self.msg = "stardate \(self.stardate)" + self.msg = "Captain's" + } else if (self.timeElapsed <= 2) { + self.msg = "log" + } else if (self.timeElapsed <= 3) { + self.msg = "stardate" + } else if (self.timeElapsed <= 7) { + self.msg = "\(self.stardate)" } else { self.msg = "" } @@ -68,7 +72,7 @@ struct ContentView: View { uiImage: UIImage( systemName: recording ? "mic.fill" : "mic", withConfiguration: UIImage.SymbolConfiguration( - pointSize: CGFloat.init(75), + pointSize: CGFloat.init(100), weight: .regular, scale: .large )