Skip to content

Commit

Permalink
fix: for auto position
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekmedia committed Jul 10, 2023
1 parent 8d64db9 commit 279102d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/src/widgets/adw/header_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ class _AdwHeaderBarState extends State<AdwHeaderBar> {
widget.maximizeBtn != null;

late ValueNotifier<List<String>?> separator =
!kIsWeb && (Platform.isLinux || Platform.isWindows || Platform.isMacOS)
!widget.style.autoPositionWindowButtons ||
!kIsWeb &&
(Platform.isLinux || Platform.isWindows || Platform.isMacOS)
? ValueNotifier(
['', 'minimize,maximize,close'],
)
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: libadwaita
description: Libadwaita's widgets for Flutter.
Following Gnome HIG and available on all platforms.
version: 2.0.1
version: 2.0.1
homepage: https://github.com/gtk-flutter/libadwaita

environment:
Expand Down

0 comments on commit 279102d

Please sign in to comment.