We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a8d02b commit 3f604b6Copy full SHA for 3f604b6
lib/common/utils/common_utils.dart
@@ -246,7 +246,7 @@ class CommonUtils {
246
return "";
247
}
248
IosDeviceInfo iosInfo = await deviceInfo.iosInfo;
249
- return iosInfo.model;
+ return iosInfo.model ?? "";
250
251
252
/**
lib/page/debug/debug_label.dart
@@ -60,7 +60,7 @@ Future<StringList> _getDeviceInfo() async {
60
61
62
String device = await CommonUtils.getDeviceInfo();
63
- return [iosInfo.systemVersion, device];
+ return [iosInfo.systemVersion ?? "", device];
64
65
66
class GlobalLabel extends StatefulWidget {
0 commit comments