fix desktopType for mobile

This commit is contained in:
csf 2022-09-15 16:36:52 +08:00
parent 1e9e00ec51
commit d3bc4a7dc6

View File

@ -28,7 +28,7 @@ var isWeb = false;
var isWebDesktop = false; var isWebDesktop = false;
var version = ""; var version = "";
int androidVersion = 0; int androidVersion = 0;
late final DesktopType? desktopType; DesktopType? desktopType;
typedef F = String Function(String); typedef F = String Function(String);
typedef FMethod = String Function(String, dynamic); typedef FMethod = String Function(String, dynamic);