1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-11-11 00:29:04 +01:00

Revert "fix: dont reload proxylist in ConnectionsManager's init"

This reverts commit 41a47438
This commit is contained in:
luvletter2333 2022-08-30 15:50:18 +08:00
parent 4ca3b95c0c
commit a7c7030271
No known key found for this signature in database
GPG Key ID: A26A8880836E1978

View File

@ -421,6 +421,8 @@ SharedPreferences mainPreferences;
Utilities.stageQueue.postRunnable(() -> {
SharedConfig.loadProxyList();
if (SharedConfig.proxyEnabled && SharedConfig.currentProxy != null) {
if (SharedConfig.currentProxy instanceof SharedConfig.ExternalSocks5Proxy) {
((SharedConfig.ExternalSocks5Proxy) SharedConfig.currentProxy).start();