chore: upgrade deps

This commit is contained in:
Mo
2022-03-21 14:31:42 -05:00
parent ea0ca7dc18
commit 9f032f13c2
27 changed files with 143 additions and 183 deletions

View File

@@ -212,7 +212,10 @@ export class Footer extends PureComponent<Props, State> {
}
if (!this.didCheckForOffline) {
this.didCheckForOffline = true;
if (this.state.offline && this.application.getNoteCount() === 0) {
if (
this.state.offline &&
this.application.items.getNoteCount() === 0
) {
this.appState.accountMenu.setShow(true);
}
}
@@ -244,7 +247,7 @@ export class Footer extends PureComponent<Props, State> {
}
streamItems() {
this.application.setDisplayOptions(
this.application.items.setDisplayOptions(
ContentType.Theme,
CollectionSort.Title,
'asc',