feat: created PopupWrapper for the popup view

This commit is contained in:
Serhiy Mytrovtsiy
2023-03-25 14:54:30 +01:00
parent 4ddb45e4e1
commit 5105c8c20d
10 changed files with 18 additions and 47 deletions

View File

@@ -12,8 +12,7 @@
import Cocoa
import Kit
internal class Popup: NSStackView, Popup_p {
public var sizeCallback: ((NSSize) -> Void)? = nil
internal class Popup: PopupWrapper {
private let emptyView: EmptyView = EmptyView(height: 30, isHidden: false, msg: localizedString("No Bluetooth devices are available"))
public init() {
@@ -61,12 +60,6 @@ internal class Popup: NSStackView, Popup_p {
}
}
}
// MARK: - Settings
public func settings() -> NSView? {
return nil
}
}
internal class BLEView: NSStackView {