We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 426b6af commit e82b9d4Copy full SHA for e82b9d4
packages/material_leap/lib/src/widgets/window.dart
@@ -70,7 +70,15 @@ class WindowTitleBar<C extends LeapSettingsBlocBaseMixin<M>,
70
actions: [
71
...actions,
72
if (isDesktop && !inView) ...[
73
- if (actions.isNotEmpty) const VerticalDivider(),
+ if (actions.isNotEmpty)
74
+ BlocBuilder<C, M>(
75
+ builder: (context, settings) {
76
+ if (settings.nativeTitleBar) {
77
+ return const SizedBox.shrink();
78
+ }
79
+ return const VerticalDivider();
80
+ },
81
+ ),
82
WindowButtons<C, M>(
83
fullScreenMode: fullScreenMode,
84
),
0 commit comments