Skip to content

Commit

Permalink
Improve window border on non-windows devices
Browse files Browse the repository at this point in the history
  • Loading branch information
aguilaair committed May 7, 2022
1 parent 448192a commit ade6666
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/src/modules/common/app_shell.dart
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,11 @@ class AppShell extends HookWidget {
Container(
decoration: BoxDecoration(
color: Colors.transparent,
borderRadius: const BorderRadius.only(
topLeft: Radius.circular(12),
),
borderRadius: Platform.isWindows
? const BorderRadius.only(
topLeft: Radius.circular(12),
)
: null,
border: Platform.isWindows
? Border.all(
color: Theme.of(context).dividerColor,
Expand Down

0 comments on commit ade6666

Please sign in to comment.