Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion lib/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ class _App extends HookConsumerWidget {
),
child: SystemTrayWidget(
child: TextInputActionHandler(
child: AuthGuard(child: child!),
child: _WindowsTitleBarDivider(
child: AuthGuard(child: child!),
),
),
),
),
Expand All @@ -205,6 +207,26 @@ class _App extends HookConsumerWidget {
}
}

class _WindowsTitleBarDivider extends StatelessWidget {
const _WindowsTitleBarDivider({required this.child});

final Widget child;

@override
Widget build(BuildContext context) => Column(
children: [
if (Platform.isWindows && context.brightness == Brightness.light)
Comment on lines +216 to +218
Container(
height: 1,
color: context.theme.divider,
),
Expanded(
child: child,
),
],
);
}

class _Home extends HookConsumerWidget {
const _Home();

Expand Down
Loading