Skip to content

Commit febd7e6

Browse files
committed
Fix merge conflict leftover
1 parent 54752f1 commit febd7e6

1 file changed

Lines changed: 39 additions & 39 deletions

File tree

lib/pages/main/main_btn.dart

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -148,50 +148,50 @@ class MainBtnState extends State<MainBtn> with SingleTickerProviderStateMixin {
148148
// Disconnect
149149
///flutterV2ray.stopV2Ray();
150150
151-
// Get Server Delay
152-
log('${flutterV2ray.getServerDelay(config: parser.getFullConfiguration())}ms');
153-
154-
// Permission is not required if you using proxy only
155-
if (await flutterV2ray.requestPermission()){
156-
flutterV2ray.startV2Ray(
157-
remark: parser.remark,
158-
// The use of parser.getFullConfiguration() is not mandatory,
159-
// and you can enter the desired V2Ray configuration in JSON format
160-
config: parser.getFullConfiguration(),
161-
blockedApps: null,
162-
bypassSubnets: null,
163-
proxyOnly: false,
164-
);
165-
}
151+
// Get Server Delay
152+
log(
153+
'${flutterV2ray.getServerDelay(config: parser.getFullConfiguration())}ms',
154+
);
166155

167-
// Disconnect
168-
///flutterV2ray.stopV2Ray();
156+
// Permission is not required if you using proxy only
157+
if (await flutterV2ray.requestPermission()) {
158+
flutterV2ray.startV2Ray(
159+
remark: parser.remark,
160+
// The use of parser.getFullConfiguration() is not mandatory,
161+
// and you can enter the desired V2Ray configuration in JSON format
162+
config: parser.getFullConfiguration(),
163+
blockedApps: null,
164+
bypassSubnets: null,
165+
proxyOnly: false,
166+
);
167+
}
169168

170-
///
171-
||||||| parent of f5f79a8 (fix quality check)
172-
// Get Server Delay
173-
dev.log('${flutterV2ray.getServerDelay(config: parser.getFullConfiguration())}ms', name: 'ServerDelay');
174-
175-
// Permission is not required if you using proxy only
176-
if (await flutterV2ray.requestPermission()){
177-
flutterV2ray.startV2Ray(
178-
remark: parser.remark,
179-
// The use of parser.getFullConfiguration() is not mandatory,
180-
// and you can enter the desired V2Ray configuration in JSON format
181-
config: parser.getFullConfiguration(),
182-
blockedApps: null,
183-
bypassSubnets: null,
184-
proxyOnly: false,
185-
);
186-
}
169+
// Disconnect
170+
///flutterV2ray.stopV2Ray();
187171
188-
// Disconnect
189-
///flutterV2ray.stopV2Ray();
172+
// Get Server Delay
173+
dev.log(
174+
'${flutterV2ray.getServerDelay(config: parser.getFullConfiguration())}ms',
175+
name: 'ServerDelay',
176+
);
177+
178+
// Permission is not required if you using proxy only
179+
if (await flutterV2ray.requestPermission()) {
180+
flutterV2ray.startV2Ray(
181+
remark: parser.remark,
182+
// The use of parser.getFullConfiguration() is not mandatory,
183+
// and you can enter the desired V2Ray configuration in JSON format
184+
config: parser.getFullConfiguration(),
185+
blockedApps: null,
186+
bypassSubnets: null,
187+
proxyOnly: false,
188+
);
189+
}
190+
191+
// Disconnect
192+
///flutterV2ray.stopV2Ray();
190193
191-
///
192-
=======
193194
///
194-
>>>>>>> f5f79a8 (fix quality check)
195195
196196
//TODO:move to right place
197197
// =======

0 commit comments

Comments
 (0)