mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-21 15:12:06 +00:00
revert to original lint format
This commit is contained in:
@ -39,8 +39,7 @@ module.exports = (win, { activityTimoutEnabled, activityTimoutTime }) => {
|
||||
activityInfo.smallImageText = "idle/paused";
|
||||
// Set start the timer so the activity gets cleared after a while if enabled
|
||||
if (activityTimoutEnabled)
|
||||
clearActivity = setTimeout(() => rpc.clearActivity(), activityTimoutTime || 10, 000);
|
||||
|
||||
clearActivity = setTimeout(()=>rpc.clearActivity(), activityTimoutTime||10000);
|
||||
} else {
|
||||
// stop the clear activity timout
|
||||
clearTimeout(clearActivity);
|
||||
|
||||
Reference in New Issue
Block a user