Skip to content

Commit b27dd3e

Browse files
authored
[trello.com/c/zbeKTolz]: revert size restrictions of first start (#701)
1 parent f1ceca7 commit b27dd3e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Adamant/App/AppDelegate.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
159159
window.rootViewController?.present(login, animated: false, completion: nil)
160160

161161
if !welcomeIsShown {
162-
if isMacOS {
163-
var size: CGSize = .init(width: 900, height: 900)
164-
window.frame = .init(origin: window.frame.origin, size: size)
165-
window.windowScene?.sizeRestrictions?.minimumSize = size
166-
window.windowScene?.sizeRestrictions?.maximumSize = size
167-
window.windowScene?.sizeRestrictions?.allowsFullScreen = false
168-
}
169-
170162
let welcome = screensFactory.makeOnboard()
171163
welcome.modalPresentationStyle = .overFullScreen
172164
login.present(welcome, animated: true, completion: nil)

0 commit comments

Comments
 (0)