captains-log

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

commit 680b04ee58078caa25d001c9302f9bce547cdc12
parent fb7787583efd31d4c09176b0d6a509c771002a98
Author: therealFIGBERT <figbertwelner@gmail.com>
Date:   Sat,  9 Nov 2019 14:11:06 -0800

Removing CKBrowserSwitcherViewController error by removing GameKit import

Diffstat:
MGlobalVars.swift | 3+--
MSettings.swift | 1-
2 files changed, 1 insertion(+), 3 deletions(-)

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