Don't show a timer on idle (#57)
Not needed anyways, and buggy to say the least.
This commit is contained in:
parent
16ab8c85c5
commit
29ddf87284
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ function setActivity(workspaceElapsedTime: boolean = false): void {
|
||||||
activity = {
|
activity = {
|
||||||
details: generateDetails('detailsDebugging', 'detailsEditing', 'detailsIdle'),
|
details: generateDetails('detailsDebugging', 'detailsEditing', 'detailsIdle'),
|
||||||
state: generateDetails('lowerDetailsDebugging', 'lowerDetailsEditing', 'lowerDetailsIdle'),
|
state: generateDetails('lowerDetailsDebugging', 'lowerDetailsEditing', 'lowerDetailsIdle'),
|
||||||
startTimestamp: previousTimestamp && workspaceElapsedTime ? previousTimestamp : new Date().getTime() / 1000,
|
startTimestamp: window.activeTextEditor && previousTimestamp && workspaceElapsedTime ? previousTimestamp : window.activeTextEditor ? new Date().getTime() / 1000 : null,
|
||||||
largeImageKey: largeImageKey
|
largeImageKey: largeImageKey
|
||||||
? largeImageKey.image
|
? largeImageKey.image
|
||||||
|| largeImageKey
|
|| largeImageKey
|
||||||
|
|
Loading…
Reference in a new issue