chore: merge dev to main (#1437)

This commit is contained in:
Ushie 2023-10-26 17:22:07 +03:00 committed by GitHub
commit dde402afbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,6 @@ class ManagerAPI {
if (url.isEmpty || url == ' ') { if (url.isEmpty || url == ' ') {
url = defaultApiUrl; url = defaultApiUrl;
} }
await _revancedAPI.initialize(url);
await _revancedAPI.clearAllCache(); await _revancedAPI.clearAllCache();
await _prefs.setString('apiUrl', url); await _prefs.setString('apiUrl', url);
} }

View File

@ -67,6 +67,7 @@ class SManageApiUrl extends BaseViewModel {
apiUrl = 'https://$apiUrl'; apiUrl = 'https://$apiUrl';
} }
_managerAPI.setApiUrl(apiUrl); _managerAPI.setApiUrl(apiUrl);
_toast.showBottom('settingsView.restartAppForChanges');
Navigator.of(context).pop(); Navigator.of(context).pop();
}, },
), ),

View File

@ -4,7 +4,7 @@ homepage: https://github.com/revanced/revanced-manager
publish_to: 'none' publish_to: 'none'
version: 1.14.1+101400100 version: 1.14.2+101400200
environment: environment:
sdk: '>=3.0.0 <4.0.0' sdk: '>=3.0.0 <4.0.0'