From d3bc4a7dc6c1614d2752aa35fa80c10306d40ec1 Mon Sep 17 00:00:00 2001 From: csf Date: Thu, 15 Sep 2022 16:36:52 +0800 Subject: [PATCH] fix desktopType for mobile --- flutter/lib/common.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index aed6d6fd8..f7c423dbc 100644 --- a/flutter/lib/common.dart +++ b/flutter/lib/common.dart @@ -28,7 +28,7 @@ var isWeb = false; var isWebDesktop = false; var version = ""; int androidVersion = 0; -late final DesktopType? desktopType; +DesktopType? desktopType; typedef F = String Function(String); typedef FMethod = String Function(String, dynamic);