Browse Source

Merge pull request #145 from exxjob/master

move setupAcrylic inside if isDesktop
xuty 3 years ago
parent
commit
ecf8c1dfd9
1 changed files with 3 additions and 2 deletions
  1. 3 2
      example/lib/mock.dart

+ 3 - 2
example/lib/mock.dart

@@ -8,8 +8,9 @@ import 'package:xterm/xterm.dart';
 void main() {
   WidgetsFlutterBinding.ensureInitialized();
 
-  if (isDesktop) {}
-  setupAcrylic();
+  if (isDesktop) {
+    setupAcrylic();
+  }
 
   runApp(MyApp());
 }