Skip to content

Commit

Permalink
fix: Proxy Button
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed Mar 29, 2023
1 parent c932fc7 commit f487547
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ public boolean onFragmentCreate() {
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);
Expand Down

0 comments on commit f487547

Please sign in to comment.