|
@@ -4260,7 +4260,7 @@ class ViewController: NSViewController {
|
|
|
let dateTitle = makeLabel("-", size: 16, color: secondaryText, weight: .regular, centered: true)
|
|
let dateTitle = makeLabel("-", size: 16, color: secondaryText, weight: .regular, centered: true)
|
|
|
|
|
|
|
|
let actions = NSStackView(views: [
|
|
let actions = NSStackView(views: [
|
|
|
- makeActionTile(title: "New meeting", symbol: "video.fill", color: accentOrange),
|
|
|
|
|
|
|
+ makeActionTile(title: "New meeting", symbol: "video.fill", color: accentOrange, action: #selector(newMeetingTapped)),
|
|
|
makeActionTile(title: "Join", symbol: "plus", color: accentBlue, action: #selector(joinMeetingTapped)),
|
|
makeActionTile(title: "Join", symbol: "plus", color: accentBlue, action: #selector(joinMeetingTapped)),
|
|
|
makeActionTile(title: "Schedule", symbol: "calendar", color: accentBlue, action: #selector(scheduleMeetingTapped))
|
|
makeActionTile(title: "Schedule", symbol: "calendar", color: accentBlue, action: #selector(scheduleMeetingTapped))
|
|
|
])
|
|
])
|
|
@@ -5426,6 +5426,10 @@ class ViewController: NSViewController {
|
|
|
updateSelectedHomeSectionUI()
|
|
updateSelectedHomeSectionUI()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @objc private func newMeetingTapped() {
|
|
|
|
|
+ menuBarTriggerNewMeeting()
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
func menuBarIsUserLoggedIn() -> Bool {
|
|
func menuBarIsUserLoggedIn() -> Bool {
|
|
|
isUserLoggedIn()
|
|
isUserLoggedIn()
|
|
|
}
|
|
}
|