mirror of
https://github.com/gskinnerTeam/flutter-wonderous-app.git
synced 2025-06-24 06:01:18 +08:00
Fix nav-rail check
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user