Allow deferring of Update Toast until the next morning
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
1fd74f22c8
commit
66272fc226
3 changed files with 7 additions and 11 deletions
|
@ -140,7 +140,9 @@ export default class WebPlatform extends VectorBasePlatform {
|
|||
if (this.runningVersion === null) {
|
||||
this.runningVersion = ver;
|
||||
} else if (this.runningVersion !== ver) {
|
||||
showUpdateToast(this.runningVersion, ver);
|
||||
if (this.shouldShowUpdate(ver)) {
|
||||
showUpdateToast(this.runningVersion, ver);
|
||||
}
|
||||
return { status: UpdateCheckStatus.Ready };
|
||||
} else {
|
||||
hideUpdateToast();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue