Toggle to disable update check on detail page (#659), string capitalization consistency

This commit is contained in:
Imran Remtulla
2023-07-14 21:53:50 -04:00
parent 41d9edcf83
commit 2a58ee8729
14 changed files with 53 additions and 15 deletions

View File

@@ -44,7 +44,10 @@ class _AppPageState extends State<AppPage> {
? sourceProvider.getSource(app.app.url,
overrideSource: app.app.overrideSource)
: null;
if (!areDownloadsRunning && prevApp == null && app != null) {
if (!areDownloadsRunning &&
prevApp == null &&
app != null &&
settingsProvider.checkUpdateOnDetailPage) {
prevApp = app;
getUpdate(app.app.id);
}