Skip to content

Commit

Permalink
fix(device_info_plus): Fix type cast of digitalProductId on windows (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantinullrich authored Aug 19, 2024
1 parent 0c5706f commit 91f48a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class DeviceInfoPlusWindowsPlugin extends DeviceInfoPlatform {
final digitalProductId = digitalProductIdValue != null &&
digitalProductIdValue.data is Uint8List
? digitalProductIdValue.data as Uint8List
: [] as Uint8List;
: Uint8List.fromList([]);
final displayVersion =
currentVersionKey.getValueAsString('DisplayVersion') ?? '';
final editionId = currentVersionKey.getValueAsString('EditionID') ?? '';
Expand Down

0 comments on commit 91f48a6

Please sign in to comment.