print extra logs to help debug landscape issues

This commit is contained in:
Shawn 2023-02-13 10:40:20 -07:00
parent d2b44a4dc6
commit 61e93029d7

View File

@ -25,8 +25,9 @@ class AppLogic {
/// Initialize the app and all main actors.
/// Loads settings, sets up services etc.
Future<void> bootstrap() async {
debugPrint('bootstrap app, deviceSize: $deviceSize, isTablet: $isLandscapeEnabled');
// TODO: Switch to `debugPrint` here once landscape issues on android have been resolved
print('bootstrap app, deviceSize: $deviceSize, isTablet: $isLandscapeEnabled');
print('supportedOrientations: ${supportedOrientations ?? 'All'}');
// Set min-sizes for desktop apps
if (PlatformInfo.isDesktop) {
await DesktopWindow.setMinWindowSize($styles.sizes.minAppSize);