From e74ffac5b0df1aa3e47ef92786c68127bfb7c70d Mon Sep 17 00:00:00 2001 From: aAbed <39409020+TheAabedKhan@users.noreply.github.com> Date: Thu, 26 Oct 2023 20:05:34 +0545 Subject: [PATCH 1/2] fix: unable to use custom API (#1435) --- lib/services/manager_api.dart | 1 - .../views/settings/settingsFragment/settings_manage_api_url.dart | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/manager_api.dart b/lib/services/manager_api.dart index 5d632ca7..17a36446 100644 --- a/lib/services/manager_api.dart +++ b/lib/services/manager_api.dart @@ -79,7 +79,6 @@ class ManagerAPI { if (url.isEmpty || url == ' ') { url = defaultApiUrl; } - await _revancedAPI.initialize(url); await _revancedAPI.clearAllCache(); await _prefs.setString('apiUrl', url); } diff --git a/lib/ui/views/settings/settingsFragment/settings_manage_api_url.dart b/lib/ui/views/settings/settingsFragment/settings_manage_api_url.dart index 964254be..6fa1ccc1 100644 --- a/lib/ui/views/settings/settingsFragment/settings_manage_api_url.dart +++ b/lib/ui/views/settings/settingsFragment/settings_manage_api_url.dart @@ -67,6 +67,7 @@ class SManageApiUrl extends BaseViewModel { apiUrl = 'https://$apiUrl'; } _managerAPI.setApiUrl(apiUrl); + _toast.showBottom('settingsView.restartAppForChanges'); Navigator.of(context).pop(); }, ), From bbe5142ca9df71392b18234d76b07d69477437ce Mon Sep 17 00:00:00 2001 From: Ushie Date: Thu, 26 Oct 2023 17:21:25 +0300 Subject: [PATCH 2/2] build: bump version to v1.14.2 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index be223bdc..4acf9060 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ homepage: https://github.com/revanced/revanced-manager publish_to: 'none' -version: 1.14.1+101400100 +version: 1.14.2+101400200 environment: sdk: '>=3.0.0 <4.0.0'