mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
adjust prop names
This commit is contained in:
parent
601bdbb25d
commit
1e1b254678
@ -47,12 +47,12 @@ export class SessionBackupViewModel extends ViewModel {
|
||||
|
||||
showPhraseSetup() {
|
||||
this._showKeySetup = false;
|
||||
this.emitChange("showKeySetup");
|
||||
this.emitChange("status");
|
||||
}
|
||||
|
||||
showKeySetup() {
|
||||
this._showKeySetup = true;
|
||||
this.emitChange("showKeySetup");
|
||||
this.emitChange("status");
|
||||
}
|
||||
|
||||
async enterSecurityPhrase(passphrase) {
|
||||
@ -67,7 +67,7 @@ export class SessionBackupViewModel extends ViewModel {
|
||||
this.emitChange("error");
|
||||
} finally {
|
||||
this._isBusy = false;
|
||||
this.emitChange("isBusy");
|
||||
this.emitChange("");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -84,7 +84,7 @@ export class SessionBackupViewModel extends ViewModel {
|
||||
this.emitChange("error");
|
||||
} finally {
|
||||
this._isBusy = false;
|
||||
this.emitChange("isBusy");
|
||||
this.emitChange("");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user