Skip to content

Commit a1cad1f

Browse files
committed
Capitalize
1 parent d79b3e4 commit a1cad1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/helper_web.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import 'package:os_detect/os_detect.dart';
88

99
Uint8List switchPlatformBit(List<int> input) {
1010
const osBit = 9;
11-
if (operatingSystemVersion.contains('linux')) {
11+
if (operatingSystemVersion.contains('Linux')) {
1212
input[osBit] = 3;
13-
} else if (operatingSystemVersion.contains('macos')) {
13+
} else if (operatingSystemVersion.contains('Macintosh')) {
1414
input[osBit] = 19;
15-
} else if (operatingSystemVersion.contains('windows')) {
15+
} else if (operatingSystemVersion.contains('Windows')) {
1616
input[osBit] = 10;
1717
} else {
1818
throw UnimplementedError(

0 commit comments

Comments
 (0)