Skip to content

Commit

Permalink
fix(custom-sources): ignore casing when checking if default repo is b…
Browse files Browse the repository at this point in the history
…eing used (ReVanced#1281)
  • Loading branch information
Julienraptor01 committed Sep 20, 2023
1 parent 4cdd9ac commit 9ad1d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/services/manager_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9ad1d6c

Please sign in to comment.