diff --git a/BitDream/BitDreamApp.swift b/BitDream/BitDreamApp.swift index 63f6fa6..f49224d 100644 --- a/BitDream/BitDreamApp.swift +++ b/BitDream/BitDreamApp.swift @@ -305,7 +305,7 @@ private extension BitDreamApp { .navigationTitle("About BitDream") // Proper window title handling .environmentObject(themeManager) .immediateTheme(manager: themeManager) - .frame(width: 320, height: 400) + .frame(width: 320) } .windowResizability(.contentSize) .defaultPosition(.center) diff --git a/BitDream/Views/iOS/Settings/iOSAboutView.swift b/BitDream/Views/iOS/Settings/iOSAboutView.swift index b3b3ccb..ce5a11f 100644 --- a/BitDream/Views/iOS/Settings/iOSAboutView.swift +++ b/BitDream/Views/iOS/Settings/iOSAboutView.swift @@ -62,6 +62,15 @@ struct iOSAboutView: View { .padding(.top, 12) } + Button("GitHub") { + hapticFeedback.play(.actionTriggered) + if let url = URL(string: "https://github.com/austin-smith/BitDream") { + openURL(url) + } + } + .buttonStyle(.bordered) + .controlSize(.regular) + // Transmission Acknowledgment VStack(spacing: 8) { Divider() diff --git a/BitDream/Views/macOS/macOSAboutView.swift b/BitDream/Views/macOS/macOSAboutView.swift index 7778f84..ea62592 100644 --- a/BitDream/Views/macOS/macOSAboutView.swift +++ b/BitDream/Views/macOS/macOSAboutView.swift @@ -62,9 +62,17 @@ struct macOSAboutView: View { .foregroundStyle(.tertiary) .padding(.top, 12) } + + Button("GitHub") { + if let url = URL(string: "https://github.com/austin-smith/BitDream") { + openURL(url) + } + } + .buttonStyle(.bordered) + .controlSize(.regular) } - // Transmission Acknowledgment - cleaner integration + // Transmission Acknowledgment VStack(spacing: 8) { Divider() .padding(.horizontal, 24)