Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let package = Package(
.library(name: "MapsmithUI", targets: ["MapsmithUI"])
],
dependencies: [
.package(url: "https://github.com/scooper4711/tabletop-kit.git", from: "1.3.0")
.package(url: "https://github.com/scooper4711/tabletop-kit.git", from: "1.4.0")
],
targets: [
.target(name: "MapsmithCore", dependencies: [.product(name: "TablesideShared", package: "tabletop-kit")]),
Expand Down
8 changes: 6 additions & 2 deletions Sources/MapsmithUI/PadApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ struct PadRootView: View {
}
}

/// The system side of `ApplicationLauncher` on the iPad. Scrollkeeper there takes no requests: Mapsmith only reads
/// its shared library and brings it forward to download a map.
/// The system side of `ApplicationLauncher` on the iPad. Scrollkeeper there takes no requests in the background:
/// Mapsmith reads its shared library and brings it forward with a map's download link to download it.
struct PadLauncher: ApplicationLauncher {
// A literal URL that is known to parse.
// swiftlint:disable:next force_unwrapping
Expand All @@ -143,6 +143,10 @@ struct PadLauncher: ApplicationLauncher {

func openInBackground(_ url: URL) {}

func openInForeground(_ url: URL) {
UIApplication.shared.open(url)
}

func launch(_ bundleIdentifier: String) {
UIApplication.shared.open(Self.scrollkeeperURL)
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading