fix disableProxyWhenVpnEnabled

This commit is contained in:
arm64v8a 2021-11-06 18:59:19 +08:00
parent 2ae3c318ef
commit d0bb8abd61

View File

@ -4271,10 +4271,12 @@ public class LaunchActivity extends Activity implements ActionBarLayout.ActionBa
} else if (!ProxyUtil.isVPNEnabled()) {
SharedConfig.setProxyEnable(true);
}
NotificationCenter.getGlobalInstance().postNotificationName(NotificationCenter.proxySettingsChanged);
}
ConnectionsManager.getInstance(currentAccount).setAppPaused(false, false);
updateCurrentConnectionState(currentAccount);
if (PhotoViewer.hasInstance() && PhotoViewer.getInstance().isVisible()) {
PhotoViewer.getInstance().onResume();
}