File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ class YaruGtkSettings extends YaruSettings {
5757 _wmPrefSettings? .addListener (
5858 () => _buttonLayoutController.add (getButtonLayout ()),
5959 );
60- getButtonLayout ();
6160 }
6261
6362 @override
Original file line number Diff line number Diff line change @@ -305,18 +305,18 @@ class YaruTitleBar extends StatelessWidget implements PreferredSizeWidget {
305305 padding: bPadding,
306306 child: Row (
307307 children: [
308- if (isMinimizable == true &&
309- leftButtons.contains (YaruWindowControlType .minimize))
310- minimizeButton,
311- if (isRestorable == true &&
312- leftButtons.contains (YaruWindowControlType .maximize))
313- restoreButton,
314- if (isMaximizable == true &&
315- leftButtons.contains (YaruWindowControlType .maximize))
316- maximizeButton,
317308 if (isClosable == true &&
318309 leftButtons.contains (YaruWindowControlType .close))
319310 closeButton,
311+ if (isMaximizable == true &&
312+ leftButtons.contains (YaruWindowControlType .maximize))
313+ maximizeButton,
314+ if (isRestorable == true &&
315+ leftButtons.contains (YaruWindowControlType .maximize))
316+ restoreButton,
317+ if (isMinimizable == true &&
318+ leftButtons.contains (YaruWindowControlType .minimize))
319+ minimizeButton,
320320 ].withSpacing (bSpacing),
321321 ),
322322 );
You can’t perform that action at this time.
0 commit comments