Skip to content

Commit 2baa8fb

Browse files
author
randommodder
committed
Fixed ios not using proxy
1 parent a67b803 commit 2baa8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import 'package:hw_manager_flutter/sqlite.dart';
1010

1111
void main() async {
1212
if (!kIsWeb) {
13-
if (Platform.isAndroid || Platform.isAndroid) {
13+
if (Platform.isAndroid || Platform.isIOS) {
1414
WidgetsFlutterBinding.ensureInitialized();
1515
final HttpProxy httpProxy = await HttpProxy.createHttpProxy();
1616
HttpOverrides.global = httpProxy;

0 commit comments

Comments
 (0)