chore: Merge branch dev to main (#2311)

This commit is contained in:
oSumAtrIX 2024-11-13 00:34:25 +01:00 committed by GitHub
commit a0c2a17bab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,10 +72,11 @@ class ManagerAPI {
final apiUrl = getApiUrl().toLowerCase();
final isReleases = apiUrl.contains('releases.revanced.app');
final isDomain = apiUrl.endsWith('api.revanced.app');
final isV2 = apiUrl.contains('api.revanced.app/v2');
final isV3 = apiUrl.contains('api.revanced.app/v3');
if (isReleases || isV2 || isV3) {
if (isReleases || isDomain || isV2 || isV3) {
await resetApiUrl();
// At this point, the preference is removed.
// Now, no more migration is needed because: