Skip to content

Commit

Permalink
Limit the column width to prevent crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
vincode-io committed Oct 30, 2024
1 parent 0efe16e commit 46eeaec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Zavala/MainSplitViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ class MainSplitViewController: UISplitViewController, MainCoordinator, MainCoord
if preferredSupplementaryColumnWidth < 1 {
preferredSupplementaryColumnWidth = 300
}
maximumPrimaryColumnWidth = 250
maximumSupplementaryColumnWidth = 350
presentsWithGesture = false
}

Expand Down

0 comments on commit 46eeaec

Please sign in to comment.