Skip to content

Commit a5ce2e2

Browse files
committed
Show border on Linux as well
1 parent a1026b6 commit a5ce2e2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

bitsdojo_window/lib/src/widgets/window_border.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ class WindowBorder extends StatelessWidget {
1616
Widget build(BuildContext context) {
1717
bool isWindowsApp =
1818
(!kIsWeb) && (defaultTargetPlatform == TargetPlatform.windows);
19+
bool isLinuxApp =
20+
(!kIsWeb) && (defaultTargetPlatform == TargetPlatform.linux);
1921

20-
// Only show border on Windows
21-
if (!isWindowsApp) {
22+
// Only show border on Windows and Linux
23+
if (!(isWindowsApp || isLinuxApp)) {
2224
return child;
2325
}
2426

0 commit comments

Comments
 (0)