revert to original lint format

This commit is contained in:
Araxeus
2021-04-23 03:50:00 +03:00
parent 650945418d
commit 20123d8245

View File

@ -39,8 +39,7 @@ module.exports = (win, { activityTimoutEnabled, activityTimoutTime }) => {
activityInfo.smallImageText = "idle/paused"; activityInfo.smallImageText = "idle/paused";
// Set start the timer so the activity gets cleared after a while if enabled // Set start the timer so the activity gets cleared after a while if enabled
if (activityTimoutEnabled) if (activityTimoutEnabled)
clearActivity = setTimeout(() => rpc.clearActivity(), activityTimoutTime || 10, 000); clearActivity = setTimeout(()=>rpc.clearActivity(), activityTimoutTime||10000);
} else { } else {
// stop the clear activity timout // stop the clear activity timout
clearTimeout(clearActivity); clearTimeout(clearActivity);