Skip to content

Commit

Permalink
Ask for focus only once
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabobko committed Nov 16, 2024
1 parent 00cbb63 commit 61e427b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/AppBundle/TrayMenuModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public class TrayMenuModel: ObservableObject {

func updateTrayText() {
let sortedMonitors = sortedMonitors
let focus = focus
TrayMenuModel.shared.trayText = (activeMode?.takeIf { $0 != mainModeId }?.first?.lets { "[\($0)] " } ?? "") +
sortedMonitors
.map {
Expand Down

0 comments on commit 61e427b

Please sign in to comment.