Rename API
This commit is contained in:
@@ -16,7 +16,7 @@ class StatusBarController: NSObject, NSMenuItemValidation {
|
||||
|
||||
let statusBar = NSMenu()
|
||||
let statusBarItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength)
|
||||
let matchesAPI = MatchesAPI()
|
||||
let matchesAPI = LiquipediaMatchesAPI()
|
||||
var matches = [Match]()
|
||||
|
||||
override func awakeFromNib() {
|
||||
@@ -54,7 +54,7 @@ class StatusBarController: NSObject, NSMenuItemValidation {
|
||||
}
|
||||
}
|
||||
|
||||
if let matches = self.matchesAPI.fetchMatches(for: "dota2") {
|
||||
if let matches = self.matchesAPI.fetchMatches(for: "counterstrike") {
|
||||
for match in matches {
|
||||
let newItem = MatchMenuItem.init(for: match, action: #selector(self.openStreamLink))
|
||||
newItem.tag = 1
|
||||
|
||||
Reference in New Issue
Block a user