Skip to content

Commit

Permalink
Use online help VC
Browse files Browse the repository at this point in the history
  • Loading branch information
levinli303 committed Aug 27, 2022
1 parent 5d4f84a commit e1ecdea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions MobileCelestia.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1191,8 +1191,8 @@
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SHARED_BUILD_NUMBER = 229;
SHARED_BUILD_VERSION = 1.5.11;
SHARED_BUILD_NUMBER = 230;
SHARED_BUILD_VERSION = 1.5.12;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2,6";
Expand Down Expand Up @@ -1251,8 +1251,8 @@
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SHARED_BUILD_NUMBER = 229;
SHARED_BUILD_VERSION = 1.5.11;
SHARED_BUILD_NUMBER = 230;
SHARED_BUILD_VERSION = 1.5.12;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
TARGETED_DEVICE_FAMILY = "1,2,6";
Expand Down
4 changes: 2 additions & 2 deletions MobileCelestia/MainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -623,14 +623,14 @@ extension MainViewController: CelestiaControllerDelegate {

@objc private func presentHelp() {
let url = URL.fromGuide(guideItemID: "823FB82E-F660-BE54-F3E4-681F5BFD365D", language: AppCore.language, shareable: false)
let vc = OnboardViewController() { [unowned self] (action) in
let vc = FallbackWebViewController(url: url, fallbackViewControllerCreator: OnboardViewController() { [unowned self] (action) in
switch action {
case .tutorial(let tutorial):
self.handleTutorialAction(tutorial)
case .url(let url):
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}
}
})
showViewController(vc)
}

Expand Down

0 comments on commit e1ecdea

Please sign in to comment.