Skip to content

Commit

Permalink
chore: Merge branch dev to main (#2311)
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX authored Nov 12, 2024
2 parents 57018a6 + 851b06b commit a0c2a17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/services/manager_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a0c2a17

Please sign in to comment.