mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-05-15 03:37:06 +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? patchesVersion = '';
|
||||||
String? integrationsVersion = '';
|
String? integrationsVersion = '';
|
||||||
bool isDefaultPatchesRepo() {
|
bool isDefaultPatchesRepo() {
|
||||||
return getPatchesRepo() == 'revanced/revanced-patches';
|
return getPatchesRepo().toLowerCase() == 'revanced/revanced-patches';
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isDefaultIntegrationsRepo() {
|
bool isDefaultIntegrationsRepo() {
|
||||||
return getIntegrationsRepo() == 'revanced/revanced-integrations';
|
return getIntegrationsRepo().toLowerCase() == 'revanced/revanced-integrations';
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> initialize() async {
|
Future<void> initialize() async {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user