mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: now few widgets can be enabled for one module
This commit is contained in:
@@ -45,7 +45,7 @@ internal class Settings: NSView, Settings_v {
|
||||
fatalError("init(coder:) has not been implemented")
|
||||
}
|
||||
|
||||
public func load(widget: widget_t) {
|
||||
public func load(widgets: [widget_t]) {
|
||||
guard !self.list.pointee.isEmpty else {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user