feat: only fetch files quota when prefs are opened (#999)

This commit is contained in:
Aman Harwara
2022-04-26 00:12:17 +05:30
committed by GitHub
parent e8ed38bcb2
commit 50d047a903
4 changed files with 53 additions and 67 deletions

View File

@@ -110,7 +110,7 @@ export class AppState {
this.subscription = new SubscriptionState(application, this.appEventObserverRemovers)
this.purchaseFlow = new PurchaseFlowState(application)
this.notesView = new NotesViewState(application, this, this.appEventObserverRemovers)
this.files = new FilesState(application, this.appEventObserverRemovers)
this.files = new FilesState(application)
this.addAppEventObserver()
this.streamNotesAndTags()
this.onVisibilityChange = () => {