Fix nav-rail check
This commit is contained in:
parent
6c0d9806cc
commit
c2be9688db
@ -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.
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user