mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-12 21:06:43 +02:00
Experiment with smarter version detection (#2324)
DO NOT merge without thorough testing
This commit is contained in:
@ -1335,7 +1335,11 @@ class AppsProvider with ChangeNotifier {
|
||||
var templateVersionFormats =
|
||||
findStandardFormatsForVersion(templateVersion, true);
|
||||
var comparisonVersionFormats =
|
||||
findStandardFormatsForVersion(comparisonVersion, false);
|
||||
findStandardFormatsForVersion(comparisonVersion, true);
|
||||
if (comparisonVersionFormats.isEmpty) {
|
||||
comparisonVersionFormats =
|
||||
findStandardFormatsForVersion(comparisonVersion, false);
|
||||
}
|
||||
var commonStandardFormats =
|
||||
templateVersionFormats.intersection(comparisonVersionFormats);
|
||||
if (commonStandardFormats.isEmpty) {
|
||||
|
Reference in New Issue
Block a user