diff --git a/lib/widgets/navigation/app_scaffold.dart b/lib/widgets/navigation/app_scaffold.dart index b32e44f..a348081 100644 --- a/lib/widgets/navigation/app_scaffold.dart +++ b/lib/widgets/navigation/app_scaffold.dart @@ -62,11 +62,16 @@ class AppScaffold extends StatelessWidget { ), ); - if (showDrawer) { + if (showDrawer && ResponsiveBreakpoints.of(context).largerThan(MOBILE)) { + final devicePixelRatio = MediaQuery.of(context).devicePixelRatio; + return Row( children: [ AppNavigationDrawer(), - VerticalDivider(width: 1, color: Theme.of(context).dividerColor), + VerticalDivider( + width: 1 / devicePixelRatio, + thickness: 1 / devicePixelRatio, + ), Expanded(child: innerWidget), ], ); diff --git a/pubspec.yaml b/pubspec.yaml index 006d858..39a7135 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 2.0.0+2 +version: 2.0.0+3 environment: sdk: ^3.5.4