From 4ffba5da2381db950015da8790210201fe34e4e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Karaka=C5=A1?= <34490121+MilosKarakas@users.noreply.github.com> Date: Thu, 17 Aug 2023 12:30:22 +0200 Subject: [PATCH] Fix separator not showing properly --- lib/src/widgets/toolbar.dart | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/src/widgets/toolbar.dart b/lib/src/widgets/toolbar.dart index 225a62bf..17014df8 100644 --- a/lib/src/widgets/toolbar.dart +++ b/lib/src/widgets/toolbar.dart @@ -175,11 +175,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { showBackgroundColorButton || showClearFormat || embedButtons?.isNotEmpty == true, - showAlignmentButtons || showDirection, - showLeftAlignment, - showCenterAlignment, - showRightAlignment, - showJustifyAlignment, + (showAlignmentButtons && (showLeftAlignment || showCenterAlignment || showRightAlignment || showJustifyAlignment)) || showDirection, showHeaderStyle, showListNumbers || showListBullets || showListCheck || showCodeBlock, showQuote || showIndent,