print extra logs to help debug landscape issues
This commit is contained in:
parent
d2b44a4dc6
commit
61e93029d7
@ -25,8 +25,9 @@ class AppLogic {
|
|||||||
/// Initialize the app and all main actors.
|
/// Initialize the app and all main actors.
|
||||||
/// Loads settings, sets up services etc.
|
/// Loads settings, sets up services etc.
|
||||||
Future<void> bootstrap() async {
|
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
|
// Set min-sizes for desktop apps
|
||||||
if (PlatformInfo.isDesktop) {
|
if (PlatformInfo.isDesktop) {
|
||||||
await DesktopWindow.setMinWindowSize($styles.sizes.minAppSize);
|
await DesktopWindow.setMinWindowSize($styles.sizes.minAppSize);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user