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 d79b3e4 commit a1cad1fCopy full SHA for a1cad1f
test/helper_web.dart
@@ -8,11 +8,11 @@ import 'package:os_detect/os_detect.dart';
8
9
Uint8List switchPlatformBit(List<int> input) {
10
const osBit = 9;
11
- if (operatingSystemVersion.contains('linux')) {
+ if (operatingSystemVersion.contains('Linux')) {
12
input[osBit] = 3;
13
- } else if (operatingSystemVersion.contains('macos')) {
+ } else if (operatingSystemVersion.contains('Macintosh')) {
14
input[osBit] = 19;
15
- } else if (operatingSystemVersion.contains('windows')) {
+ } else if (operatingSystemVersion.contains('Windows')) {
16
input[osBit] = 10;
17
} else {
18
throw UnimplementedError(
0 commit comments