mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-23 03:32:13 -04:00
Clean up
This commit is contained in:
parent
b3ab2ce4dc
commit
672779a47f
@ -31,12 +31,6 @@ final class SplitViewController: UISplitViewController {
|
||||
self.navigationViewModel = navigationViewModel
|
||||
self.hasZimFiles = hasZimFiles
|
||||
super.init(style: .doubleColumn)
|
||||
|
||||
if hasZimFiles {
|
||||
preferredDisplayMode = .automatic
|
||||
} else {
|
||||
preferredDisplayMode = .secondaryOnly
|
||||
}
|
||||
}
|
||||
|
||||
required init?(coder: NSCoder) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user