mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix(custom-sources): ignore casing when checking if default repo is being used (#1281)
This commit is contained in:
parent
4cdd9acd73
commit
9ad1d6cbfb
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user