Skip to content

Commit

Permalink
Tweak post-merge comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal Boutin committed Aug 21, 2020
1 parent 18c9aba commit 54c53b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const refreshChaosRecipe = async () => {
};

ipcRenderer.on('forceChaosRecipeRefresh', () => refreshChaosRecipe());
setInterval(() => refreshChaosRecipe(), settings.get('overlay.refreshTime') * 1000 || 60000);
setInterval(() => refreshChaosRecipe(), settings.get('overlay.refreshTime') * 1000 || 30000);
refreshChaosRecipe();

const ForceRefreshButtonElement = document.getElementById('force-refresh-button');
Expand Down
2 changes: 1 addition & 1 deletion src/ui/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ sessionIdInputElement.oninput = async ({srcElement: {value}}) => {
};

const RefreshTimeInputElement = document.getElementById('refresh-time-input');
RefreshTimeInputElement.value = settings.get('overlay.refreshTime') || DEFAULT_REFRESH_TIME;
RefreshTimeInputElement.value = settings.get('overlay.refreshTime') || 30;
RefreshTimeInputElement.oninput = async ({srcElement: {value}}) => {
settings.set('overlay.refreshTime', value);
};
Expand Down

0 comments on commit 54c53b3

Please sign in to comment.