diff --git a/example/lib/main.dart b/example/lib/main.dart index 0494940..3fd1f2c 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -5,7 +5,7 @@ import 'package:moxxmpp/moxxmpp.dart'; import 'package:moxxmpp_socket_tcp/moxxmpp_socket_tcp.dart'; class ExampleTcpSocketWrapper extends TCPSocketWrapper { - ExampleTcpSocketWrapper() : super(false); + ExampleTcpSocketWrapper() : super(); @override Future> srvQuery(String domain, bool dnssec) async { @@ -64,7 +64,7 @@ class _MyHomePageState extends State { // The below causes the app to crash. //ExampleTcpSocketWrapper(), // In a production app, the below should be false. - TCPSocketWrapper(true), + TCPSocketWrapper(), ); TextEditingController jidController = TextEditingController(); TextEditingController passwordController = TextEditingController();