|
@@ -527,8 +527,12 @@ class ViewController: NSViewController {
|
|
|
|
|
|
|
|
let isSettings = destination == .settings
|
|
let isSettings = destination == .settings
|
|
|
headerView.isHidden = isSettings
|
|
headerView.isHidden = isSettings
|
|
|
- contentTopBelowHeader.isActive = !isSettings
|
|
|
|
|
- contentTopBelowWindow.isActive = isSettings
|
|
|
|
|
|
|
+ NSLayoutConstraint.deactivate([contentTopBelowHeader, contentTopBelowWindow])
|
|
|
|
|
+ if isSettings {
|
|
|
|
|
+ contentTopBelowWindow.isActive = true
|
|
|
|
|
+ } else {
|
|
|
|
|
+ contentTopBelowHeader.isActive = true
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func presentPaywall(returnToHomeOnDismiss: Bool = true) {
|
|
func presentPaywall(returnToHomeOnDismiss: Bool = true) {
|