Fix left pane banner colors & add username integrity check to queue
This commit is contained in:
parent
8d56ba4b40
commit
e0446af125
2 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
color: $color-gray-75;
|
||||
}
|
||||
@include dark-theme {
|
||||
background-color: $color-gray-60;
|
||||
background-color: $color-gray-75;
|
||||
color: $color-gray-15;
|
||||
}
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ import { DAY } from '../util/durations';
|
|||
import { drop } from '../util/drop';
|
||||
import { BackOff, FIBONACCI_TIMEOUTS } from '../util/BackOff';
|
||||
import { checkForUsername } from '../util/lookupConversationWithoutServiceId';
|
||||
import { storageJobQueue } from '../util/JobQueue';
|
||||
import * as log from '../logging/log';
|
||||
import { resolveUsernameByLink } from './username';
|
||||
|
||||
|
@ -42,7 +43,7 @@ class UsernameIntegrityService {
|
|||
|
||||
private async safeCheck(): Promise<void> {
|
||||
try {
|
||||
await this.check();
|
||||
await storageJobQueue(() => this.check());
|
||||
this.backOff.reset();
|
||||
await window.storage.put('usernameLastIntegrityCheck', Date.now());
|
||||
|
||||
|
|
Loading…
Reference in a new issue