Refactor registration event

Make AccountManager into an event target for better separation between
app and service-library handling of registration events.
This commit is contained in:
lilia 2016-09-20 13:42:33 -07:00
parent 6dcff46e26
commit 7b3b01bdf6
6 changed files with 57 additions and 15 deletions

View file

@ -21,7 +21,7 @@
el: $('#install'),
deviceName: deviceName
});
if (bg.textsecure.registration.everDone()) {
if (bg.Whisper.Registration.everDone()) {
view.selectStep(3);
}
view.$el.show();