diff --git a/lib/logic/app_logic.dart b/lib/logic/app_logic.dart index 1ff82e8e..2f669fbd 100644 --- a/lib/logic/app_logic.dart +++ b/lib/logic/app_logic.dart @@ -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. diff --git a/pubspec.yaml b/pubspec.yaml index f0d93e8d..08087d7e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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"