Fix nav-rail check

This commit is contained in:
Shawn 2023-05-11 10:55:34 -06:00
parent 6c0d9806cc
commit c2be9688db
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ class AppLogic {
Display get display => PlatformDispatcher.instance.displays.first;
bool shouldUseNavRail() => true; //display.size.width > display.size.height && display.size.height > 250;
bool shouldUseNavRail() => display.size.width > display.size.height && display.size.height > 250;
/// Enable landscape, portrait or both. Views can call this method to override the default settings.
/// For example, the [FullscreenVideoViewer] always wants to enable both landscape and portrait.

View File

@ -1,7 +1,7 @@
name: wonders
description: Explore the famous wonders of the world.
publish_to: "none"
version: 2.0.14
version: 2.0.14+1
environment:
sdk: ">=2.17.0 <3.0.0"