fix: Proxy Button

This commit is contained in:
xtaodada 2023-03-29 14:52:12 +08:00
parent 8b6fcf534f
commit ec4189c675
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -460,7 +460,7 @@ public class ProxyListActivity extends BaseFragment implements NotificationCente
NotificationCenter.getInstance(currentAccount).addObserver(this, NotificationCenter.didUpdateConnectionState);
final SharedPreferences preferences = MessagesController.getGlobalMainSettings();
useProxySettings = SharedConfig.proxyEnabled && !proxyList.isEmpty();
useProxySettings = SharedConfig.proxyEnabled;
useProxyForCalls = preferences.getBoolean("proxy_enabled_calls", false);
updateRows(true);