fix: editor status after changing note

This commit is contained in:
Mo Bitar
2020-04-24 12:55:23 -05:00
parent fa831f775b
commit dee164f4a2
9 changed files with 85 additions and 68 deletions

View File

@@ -184,7 +184,7 @@ class FooterViewCtrl extends PureViewCtrl {
this.setState({
outOfSync: false
});
} else if (eventName === ApplicationEvent.CompletedSync) {
} else if (eventName === ApplicationEvent.CompletedFullSync) {
if (!this.didCheckForOffline) {
this.didCheckForOffline = true;
if (this.offline && this.application!.getNoteCount() === 0) {