Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d22f2b42 authored by Daniel Jacob Chittoor's avatar Daniel Jacob Chittoor
Browse files

Remove unused quota variable

this.quota is assigned from navigator.storage.estimate() during init
but never read anywhere in the codebase. Remove the dead code.

Note: If storage quota checking is desired before downloading large
firmware files, this should be implemented as a proper pre-download
validation with user feedback, not just a stored variable.
parent 3b2db0c3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@ export class Downloader {

    this.db = await this.openDBStore();
    await this.clearDBStore();
    this.quota = await navigator.storage.estimate();
  }

  /*