Skip to content

Commit

Permalink
Update lib/src/editor/toolbar/mobile/toolbar_items/heading_mobile_too…
Browse files Browse the repository at this point in the history
…lbar_item.dart

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
  • Loading branch information
hyj1204 and Xazin authored Jul 10, 2023
1 parent 603d816 commit f346b3d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class _HeadingMenuState extends State<_HeadingMenu> {
@override
Widget build(BuildContext context) {
final style = MobileToolbarStyle.of(context);
final size = MediaQuery.of(context).size;
final size = MediaQuery.sizeOf(context);
final btnList = headings.map((currentHeading) {
// Check if current node is heading and its level
final node =
Expand Down

0 comments on commit f346b3d

Please sign in to comment.