Skip to content

Commit

Permalink
Fixes an issue that app core doesn't work in iPad mode when launched …
Browse files Browse the repository at this point in the history
…in SplitView.
  • Loading branch information
mntone committed Feb 3, 2024
1 parent d9711fd commit 6c2b4f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App/AppAssembly.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import UIKit
struct AppAssembly: Assembly {
func assemble(container: Container) {
#if os(iOS)
let pad = UIDevice.current.userInterfaceIdiom == .pad
let pad = UIDevice.current.systemName == "iPadOS"
#elseif os(macOS)
let pad = true
#else
Expand Down

0 comments on commit 6c2b4f5

Please sign in to comment.