Skip to content

Commit bdeb0cd

Browse files
committed
fix: AboutSettingsView override init, GeneralSettingsView var for protocol setter
1 parent 64f5f78 commit bdeb0cd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/VPNBarApp/Settings/AboutSettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import AppKit
33
/// About settings view component.
44
@MainActor
55
final class AboutSettingsView: NSView {
6-
init(frame: NSRect = .zero) {
6+
override init(frame: NSRect = .zero) {
77
super.init(frame: frame)
88
setupView()
99
}

Sources/VPNBarApp/Settings/GeneralSettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import AppKit
33
/// General settings view component.
44
@MainActor
55
final class GeneralSettingsView: NSView {
6-
private let settingsManager: SettingsManagerProtocol
6+
private var settingsManager: SettingsManagerProtocol
77
private let vpnManager: VPNManagerProtocol
88

99
var updateIntervalTextField: NSTextField?

0 commit comments

Comments
 (0)