mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Wait for storage on launch
This commit is contained in:
@@ -141,11 +141,13 @@
|
||||
};
|
||||
|
||||
extension.onLaunched(function() {
|
||||
if (textsecure.registration.isDone()) {
|
||||
openInbox();
|
||||
} else {
|
||||
extension.install();
|
||||
}
|
||||
storage.onready(function() {
|
||||
if (textsecure.registration.isDone()) {
|
||||
openInbox();
|
||||
} else {
|
||||
extension.install();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// make sure windows are cleaned up on close
|
||||
|
||||
Reference in New Issue
Block a user