Update to Xcode 12
This commit is contained in:
@@ -9,6 +9,7 @@ enum NotificationRequestState {
|
||||
case .authorized: self = .Authorized
|
||||
case .provisional: self = .Provisional
|
||||
case .notDetermined: fallthrough
|
||||
case .ephemeral: fallthrough
|
||||
@unknown default: self = .NotDetermined
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,9 +30,9 @@ class VCRecordings: UIViewController, UINavigationControllerDelegate {
|
||||
x.addSheet().addArrangedSubview(TinyMarkdown.load("tut-recording-1"))
|
||||
x.addSheet().addArrangedSubview(TinyMarkdown.load("tut-recording-2"))
|
||||
x.buttonTitleDone = "Got it"
|
||||
x.present {
|
||||
x.present(didClose: {
|
||||
Prefs.DidShowTutorial.Recordings = true
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -55,9 +55,9 @@ class VCRecordings: UIViewController, UINavigationControllerDelegate {
|
||||
let x = TutorialSheet()
|
||||
x.addSheet().addArrangedSubview(TinyMarkdown.load("tut-recording-howto"))
|
||||
x.buttonTitleDone = "Close"
|
||||
x.present() {
|
||||
x.present(didClose: {
|
||||
Prefs.DidShowTutorial.RecordingHowTo = true
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -36,9 +36,9 @@ class TBCMain: UITabBarController {
|
||||
let x = TutorialSheet()
|
||||
x.addSheet().addArrangedSubview(TinyMarkdown.load("tut-welcome-1"))
|
||||
x.addSheet().addArrangedSubview(TinyMarkdown.load("tut-welcome-2"))
|
||||
x.present {
|
||||
x.present(didClose: {
|
||||
Prefs.DidShowTutorial.Welcome = true
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user