mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-21 02:07:02 +00:00
Fix new link scenario where default color is not set
Co-authored-by: Josh Perez <60019601+josh-signal@users.noreply.github.com>
This commit is contained in:
@@ -79,6 +79,14 @@ export async function startApp(): Promise<void> {
|
||||
|
||||
ourProfileKeyService.initialize(window.storage);
|
||||
|
||||
window.storage.onready(() => {
|
||||
if (!window.storage.get('defaultConversationColor')) {
|
||||
window.storage.put('defaultConversationColor', {
|
||||
color: 'ultramarine',
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
let resolveOnAppView: (() => void) | undefined;
|
||||
const onAppView = new Promise<void>(resolve => {
|
||||
resolveOnAppView = resolve;
|
||||
@@ -412,12 +420,6 @@ export async function startApp(): Promise<void> {
|
||||
}
|
||||
first = false;
|
||||
|
||||
if (!window.storage.get('defaultConversationColor')) {
|
||||
window.storage.put('defaultConversationColor', {
|
||||
color: 'ultramarine',
|
||||
});
|
||||
}
|
||||
|
||||
cleanupSessionResets();
|
||||
const retryPlaceholders = new window.Signal.Util.RetryPlaceholders();
|
||||
window.Signal.Services.retryPlaceholders = retryPlaceholders;
|
||||
|
||||
Reference in New Issue
Block a user