fix(macos): expand onboarding window height

This commit is contained in:
Peter Steinberger
2026-01-03 13:31:23 +01:00
parent bb54e60179
commit f11b352089
3 changed files with 4 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ final class OnboardingController {
let hosting = NSHostingController(rootView: OnboardingView())
let window = NSWindow(contentViewController: hosting)
window.title = UIStrings.welcomeTitle
window.setContentSize(NSSize(width: 630, height: 644))
window.setContentSize(NSSize(width: 630, height: 684))
window.styleMask = [.titled, .closable, .fullSizeContentView]
window.titlebarAppearsTransparent = true
window.titleVisibility = .hidden
@@ -92,7 +92,7 @@ struct OnboardingView: View {
var permissionMonitor: PermissionMonitor
let pageWidth: CGFloat = 630
let contentHeight: CGFloat = 420
let contentHeight: CGFloat = 460
let connectionPageIndex = 1
let anthropicAuthPageIndex = 2
let onboardingChatPageIndex = 8

View File

@@ -27,7 +27,7 @@ extension OnboardingView {
Spacer(minLength: 0)
self.navigationBar
}
.frame(width: self.pageWidth, height: 644)
.frame(width: self.pageWidth, height: 684)
.background(Color(NSColor.windowBackgroundColor))
.onAppear {
self.currentPage = 0