()
| 356 | } |
| 357 | |
| 358 | refreshViews () { |
| 359 | if (this.destroyed || application.userIsIdle) { return } |
| 360 | this.lastRefreshTime = new Date() |
| 361 | if (this.ladderTab != null) { |
| 362 | this.ladderTab.refreshLadder() |
| 363 | } |
| 364 | if ((this.myMatchesTab != null ? this.myMatchesTab.refreshMatches : undefined) != null) { |
| 365 | this.myMatchesTab.refreshMatches(this.refreshDelay) |
| 366 | } |
| 367 | return (this.simulateTab != null ? this.simulateTab.refresh() : undefined) |
| 368 | } |
| 369 | |
| 370 | onIdleChanged (e) { |
| 371 | if (!e.idle) { return this.fetchSessionsAndRefreshViews() } |
nothing calls this directly
no test coverage detected