Skip to content

Commit

Permalink
#837 - Remove cache on pause
Browse files Browse the repository at this point in the history
  • Loading branch information
graphefruit committed Nov 9, 2024
1 parent 424e059 commit 463e9a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ import { UIGraphStorage } from '../services/uiGraphStorage.service';
import { UIStorage } from '../services/uiStorage';
import { MeticulousHelpPopoverComponent } from '../popover/meticulous-help-popover/meticulous-help-popover.component';
import { SplashScreen } from '@capacitor/splash-screen';
import { BrewInstanceHelper } from '../classes/brew/brew';

declare var window;

Expand Down Expand Up @@ -807,6 +808,9 @@ export class AppComponent implements AfterViewInit {
);
}
}

//Users let the app mostly open all day long, so we set the cache to zero if we pause.
BrewInstanceHelper.setEntryAmountBackToZero();
});
}

Expand Down

0 comments on commit 463e9a4

Please sign in to comment.