This repository was archived by the owner on Jan 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -145,8 +145,8 @@ - (IBAction)showTransportSettings:(id)sender {
145145 NSString *savedWsPath = transportSettings[@" wsSettings" ][@" path" ];
146146 [_wsPathField setStringValue: savedWsPath != nil ? savedWsPath : @" " ];
147147 // tls
148- [_tlsUseButton setState: [[[ NSUserDefaults standardUserDefaults ] objectForKey: @" useTLS " ] boolValue ]];
149- NSDictionary * tlsSettings = [[ NSUserDefaults standardUserDefaults ] objectForKey: @" tlsSettings" ];
148+ [_tlsUseButton setState: [[transportSettings objectForKey: @" security " ] boolValue ]];
149+ NSDictionary * tlsSettings = [transportSettings objectForKey: @" tlsSettings" ];
150150 [_tlsAiButton setState: [tlsSettings[@" allowInsecure" ] boolValue ]];
151151 if (tlsSettings[@" serverName" ]) {
152152 [_tlsSnField setStringValue: tlsSettings[@" serverName" ]];
Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ + (ServerProfile*)readFromAnOutboundDic:(NSDictionary*)outDict {
8686 if (outDict[@" proxySettings" ][@" outbound-proxy-config" ][@" settings" ][@" servers" ][0 ] != nil ) {
8787 profile.proxySettings = outDict[@" proxySettings" ][@" outbound-proxy-config" ][@" settings" ][@" servers" ][0 ];
8888 }
89- if (outDict[@" setMuxSettings " ] != nil ) {
90- profile.muxSettings = outDict[@" setMuxSettings " ];
89+ if (outDict[@" mux " ] != nil ) {
90+ profile.muxSettings = outDict[@" mux " ];
9191 }
9292 return profile;
9393}
You can’t perform that action at this time.
0 commit comments