diff --git a/lib/services/manager_api.dart b/lib/services/manager_api.dart index 5d632ca78a..17a3644611 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 964254beb5..6fa1ccc1dd 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(); }, ),