Changed a default (enhanced version detect bugfix)

This commit is contained in:
Imran Remtulla
2022-12-04 13:51:44 -05:00
parent 60c28bf912
commit f70049aded

View File

@@ -52,7 +52,7 @@ class App {
late DateTime? lastUpdateCheck; late DateTime? lastUpdateCheck;
bool pinned = false; bool pinned = false;
bool trackOnly = false; bool trackOnly = false;
bool enhancedVersionDetection = true; bool enhancedVersionDetection = false;
App( App(
this.id, this.id,
this.url, this.url,
@@ -96,7 +96,7 @@ class App {
: DateTime.fromMicrosecondsSinceEpoch(json['lastUpdateCheck']), : DateTime.fromMicrosecondsSinceEpoch(json['lastUpdateCheck']),
json['pinned'] ?? false, json['pinned'] ?? false,
json['trackOnly'] ?? false, json['trackOnly'] ?? false,
json['enhancedVersionDetection'] ?? true); json['enhancedVersionDetection'] ?? false);
Map<String, dynamic> toJson() => { Map<String, dynamic> toJson() => {
'id': id, 'id': id,