feat: snjs with auto integrity resolution (#912)
This commit is contained in:
@@ -256,7 +256,7 @@ export class Footer extends PureComponent<Props, State> {
|
||||
|
||||
updateSyncStatus() {
|
||||
const statusManager = this.application.getStatusManager();
|
||||
const syncStatus = this.application.getSyncStatus();
|
||||
const syncStatus = this.application.sync.getSyncStatus();
|
||||
const stats = syncStatus.getStats();
|
||||
if (syncStatus.hasError()) {
|
||||
statusManager.setMessage('Unable to Sync');
|
||||
@@ -290,7 +290,7 @@ export class Footer extends PureComponent<Props, State> {
|
||||
|
||||
updateLocalDataStatus() {
|
||||
const statusManager = this.application.getStatusManager();
|
||||
const syncStatus = this.application.getSyncStatus();
|
||||
const syncStatus = this.application.sync.getSyncStatus();
|
||||
const stats = syncStatus.getStats();
|
||||
const encryption = this.application.isEncryptionAvailable();
|
||||
if (stats.localDataDone) {
|
||||
@@ -312,7 +312,7 @@ export class Footer extends PureComponent<Props, State> {
|
||||
|
||||
findErrors() {
|
||||
this.setState({
|
||||
hasError: this.application.getSyncStatus().hasError(),
|
||||
hasError: this.application.sync.getSyncStatus().hasError(),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user