captains-log

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

commit 24cb346d0f1bc48999585e5b63d6d492a8ee1cd8
parent 82b331e635c55b05e69fa05e33392bae2f24015f
Author: therealFIGBERT <figbertwelner@gmail.com>
Date:   Fri,  8 Nov 2019 13:35:48 -0800

Making username default to GameCenter alias

Diffstat:
MGlobalVars.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GlobalVars.swift b/GlobalVars.swift @@ -45,7 +45,7 @@ class GlobalVars: ObservableObject { } @Published var dateListPos: Int = 0 @Published var currentMessage: Int = 0 - @Published var name: String = "Unknown" { + @Published var name: String = GKPlayer.init().alias { willSet { messages[1] = "A day in the life of \(name), entry \(1)" messages[2] = "\(name)'s audio journal, day \(1)"