Skip to content

Commit 6000189

Browse files
committed
fix(example): isMobile getter
1 parent 196aecf commit 6000189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/theme.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ SnackBarThemeData _snackBarThemeData(ColorScheme colorScheme) {
516516
}
517517

518518
bool get isMobile =>
519-
!kIsWeb && Platform.isAndroid || Platform.isIOS || Platform.isFuchsia;
519+
!kIsWeb && (Platform.isAndroid || Platform.isIOS || Platform.isFuchsia);
520520

521521
bool get isDesktop =>
522522
!kIsWeb && (Platform.isLinux || Platform.isMacOS || Platform.isWindows);

0 commit comments

Comments
 (0)