Skip to content

Commit

Permalink
timeMerge default option changed
Browse files Browse the repository at this point in the history
  • Loading branch information
xan105 committed Sep 22, 2019
1 parent 15f033a commit e15ef81
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ Options are stored in ```%AppData%\Achievement Watcher\cfg\options.ini``` but mo
Try to merge multiple achievement source for the same game.<br />

- timeMergeRecentFirst<br/>
default to true<br />
When merging duplicates, show the most recent timestamp (set to false for the oldest).
default to false<br />
When merging duplicates, show the most recent timestamp instead of the oldest.

- hideZero<br />
default to false<br />
Expand Down
4 changes: 2 additions & 2 deletions app/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports.load = ()=>{
}

if (typeof options.achievement.timeMergeRecentFirst !== "boolean"){
options.achievement.timeMergeRecentFirst = true;
options.achievement.timeMergeRecentFirst = false;
}

if (typeof options.achievement.hideZero !== "boolean"){
Expand Down Expand Up @@ -109,7 +109,7 @@ module.exports.load = ()=>{
achievement: {
showHidden: false,
mergeDuplicate: true,
timeMergeRecentFirst: true,
timeMergeRecentFirst: false,
hideZero: false,
legitSteam: 0
},
Expand Down
4 changes: 2 additions & 2 deletions app/view/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@
<div class="right">
<div class="previous"><span class="arrow"><i class="fas fa-chevron-left"></i></span></div>
<select autocomplete="off" id="option_timeMergeRecentFirst">
<option value="true" selected></option>
<option value="false"></option>
<option value="false" selected></option>
<option value="true"></option>
</select>
<div class="next"><span class="arrow"><i class="fas fa-chevron-right"></i></span></div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions service/src/watchdog/watchdog.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ var app = {
}

if (typeof self.options.achievement.timeMergeRecentFirst !== "boolean"){
self.options.achievement.timeMergeRecentFirst = true;
self.options.achievement.timeMergeRecentFirst = false;
fixFile = true;
}

Expand Down Expand Up @@ -318,7 +318,7 @@ var app = {
achievement: {
showHidden: false,
mergeDuplicate: true,
timeMergeRecentFirst: true,
timeMergeRecentFirst: false,
hideZero: false,
legitSteam: 0
},
Expand Down

0 comments on commit e15ef81

Please sign in to comment.