Skip to content

Commit

Permalink
Show border on Linux as well
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsdojo committed Jun 16, 2021
1 parent a1026b6 commit a5ce2e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bitsdojo_window/lib/src/widgets/window_border.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ class WindowBorder extends StatelessWidget {
Widget build(BuildContext context) {
bool isWindowsApp =
(!kIsWeb) && (defaultTargetPlatform == TargetPlatform.windows);
bool isLinuxApp =
(!kIsWeb) && (defaultTargetPlatform == TargetPlatform.linux);

// Only show border on Windows
if (!isWindowsApp) {
// Only show border on Windows and Linux
if (!(isWindowsApp || isLinuxApp)) {
return child;
}

Expand Down

0 comments on commit a5ce2e2

Please sign in to comment.