Skip to content

Commit

Permalink
Merge pull request #312 from wakatime/main
Browse files Browse the repository at this point in the history
Release v5.23.3
  • Loading branch information
alanhamlett authored Sep 12, 2024
2 parents 6679955 + dc386cb commit e0d23b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion WakaTime/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, StatusBarDelegate {
}

let time = Int(NSDate().timeIntervalSince1970)
guard lastTodayTime + 60 < time else {
guard lastTodayTime + 120 < time else {
setText(lastTodayText)
return
}
Expand Down
1 change: 1 addition & 0 deletions WakaTime/Watchers/Watcher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class Watcher: NSObject {
// swiftlint:enable line_length
if let oldApp = activeApp { unwatch(app: oldApp) }
activeApp = app
self.statusBarDelegate?.fetchToday()
if let bundleId = app.bundleIdentifier, MonitoringManager.isAppMonitored(for: bundleId) {
watch(app: app)
}
Expand Down

0 comments on commit e0d23b5

Please sign in to comment.