Update lib/widgets/editor/editor_toolbar.dart
Co-authored-by: Marcin Wojnarowski <xmarcinmarcin@gmail.com>
This commit is contained in:
parent
ecb95d3bdb
commit
821558314e
|
@ -294,7 +294,7 @@ class _ToolbarBody extends HookWidget {
|
||||||
for (final h in HeaderLevel.values)
|
for (final h in HeaderLevel.values)
|
||||||
PopupMenuItem(
|
PopupMenuItem(
|
||||||
value: h,
|
value: h,
|
||||||
child: Text(describeEnum(h).toUpperCase()),
|
child: Text(h.name.toUpperCase()),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
onSelected: (val) {
|
onSelected: (val) {
|
||||||
|
|
Loading…
Reference in New Issue