Skip to content

Commit 4fa4a41

Browse files
committed
QUICKFIX Landscape True
- FIX Landscape incorrectly set to true.
1 parent 9cf7495 commit 4fa4a41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/responsive_breakpoints.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ class ResponsiveBreakpointsState extends State<ResponsiveBreakpoints>
159159
bool get isLandscapePlatform =>
160160
(widget.landscapePlatforms ?? _landscapePlatforms).contains(platform);
161161

162-
bool get isLandscape => true;
162+
bool get isLandscape =>
163+
orientation == Orientation.landscape && isLandscapePlatform;
163164

164165
bool get useShortestSide => widget.useShortestSide;
165166

0 commit comments

Comments
 (0)