Update lib/widgets/editor/editor_toolbar.dart

Co-authored-by: Marcin Wojnarowski <xmarcinmarcin@gmail.com>
This commit is contained in:
Filip Krawczyk 2022-08-22 23:59:56 +02:00 committed by GitHub
parent ecb95d3bdb
commit 821558314e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ class _ToolbarBody extends HookWidget {
for (final h in HeaderLevel.values)
PopupMenuItem(
value: h,
child: Text(describeEnum(h).toUpperCase()),
child: Text(h.name.toUpperCase()),
),
],
onSelected: (val) {