fix(custom-sources): ignore casing when checking if default repo is being used (#1281)

This commit is contained in:
Julienraptor01 2023-09-20 23:42:29 +02:00 committed by GitHub
parent 4cdd9acd73
commit 9ad1d6cbfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,11 +41,11 @@ class ManagerAPI {
String? patchesVersion = '';
String? integrationsVersion = '';
bool isDefaultPatchesRepo() {
return getPatchesRepo() == 'revanced/revanced-patches';
return getPatchesRepo().toLowerCase() == 'revanced/revanced-patches';
}
bool isDefaultIntegrationsRepo() {
return getIntegrationsRepo() == 'revanced/revanced-integrations';
return getIntegrationsRepo().toLowerCase() == 'revanced/revanced-integrations';
}
Future<void> initialize() async {