Skip to content

Commit cf4b49e

Browse files
authored
fix: Removed outdated code to avoid UI not being displayed in Windows release mode (flutter-webrtc#1890)
1 parent 6f5bbfb commit cf4b49e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

example/lib/main.dart

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import 'dart:core';
22

3-
import 'package:flutter/foundation.dart'
4-
show debugDefaultTargetPlatformOverride;
53
import 'package:flutter/material.dart';
64
import 'package:flutter_background/flutter_background.dart';
75
import 'package:flutter_webrtc/flutter_webrtc.dart';
@@ -17,11 +15,6 @@ import 'src/route_item.dart';
1715

1816
void main() {
1917
WidgetsFlutterBinding.ensureInitialized();
20-
if (WebRTC.platformIsDesktop) {
21-
debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia;
22-
} else if (WebRTC.platformIsAndroid) {
23-
//startForegroundService();
24-
}
2518
runApp(MyApp());
2619
}
2720

0 commit comments

Comments
 (0)