Skip to content
Open
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
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ let package = Package(
platforms: [
.macOS(.v10_12),
.iOS(.v10),
.tvOS(.v13)
],
products: [
.library(name: "SwiftyDropbox", targets:["SwiftyDropbox"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class LoadingViewController: UIViewController {
private let loadingSpinner: UIActivityIndicatorView

override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
if #available(iOS 13.0, *) {
if #available(iOS 13.0, tvOS 13.0, *) {
loadingSpinner = UIActivityIndicatorView(style: .large)
} else {
loadingSpinner = UIActivityIndicatorView(style: .whiteLarge)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ open class MobileSharedApplication: SharedApplication {
if let controller = controller {
self.controller = controller
} else {
if #available(iOS 13, *) {
if #available(iOS 13, tvOS 13, *) {
self.controller = sharedApplication.findKeyWindow()?.rootViewController
} else {
self.controller = sharedApplication.keyWindow?.rootViewController
Expand Down