mirror of
https://github.com/wgh136/pixes.git
synced 2025-09-27 04:57:23 +00:00
fix proxy
This commit is contained in:
@@ -135,7 +135,7 @@ class _ProxyHttpOverrides extends HttpOverrides {
|
||||
if(!App.isLinux) {
|
||||
var channel = const MethodChannel("pixes/proxy");
|
||||
channel.invokeMethod("getProxy").then((value) {
|
||||
if(value == "No proxy"){
|
||||
if(value.toString().toLowerCase() == "no proxy"){
|
||||
proxy = "DIRECT";
|
||||
} else {
|
||||
if(proxy.contains("https")){
|
||||
|
Reference in New Issue
Block a user