Skip to content

Commit

Permalink
fix(toolbar): regard showDividers in simple toolbar (#2172)
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 authored Aug 31, 2024
1 parent 902d239 commit 29af719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/toolbar/simple_toolbar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class QuillSimpleToolbar extends StatelessWidget
final buttons = groups[i];

if (buttons.isNotEmpty) {
if (buttonsAll.isNotEmpty) {
if (buttonsAll.isNotEmpty && configurations.showDividers) {
buttonsAll.add(divider);
}
buttonsAll.addAll(buttons);
Expand Down

0 comments on commit 29af719

Please sign in to comment.