From 8f98cfa7b97a95988d4dd5c520a9aef51a2655e1 Mon Sep 17 00:00:00 2001 From: ice-hector <96414297+ice-hector@users.noreply.github.com> Date: Thu, 9 Jan 2025 12:07:44 +0200 Subject: [PATCH] fix: naming --- .../utils/{toggle_styles.dart => quill_style_manager.dart} | 0 .../views/components/toolbar_buttons/toolbar_bold_button.dart | 2 +- .../views/components/toolbar_buttons/toolbar_h1_button.dart | 2 +- .../views/components/toolbar_buttons/toolbar_h2_button.dart | 2 +- .../views/components/toolbar_buttons/toolbar_h3_button.dart | 2 +- .../views/components/toolbar_buttons/toolbar_italic_button.dart | 2 +- .../views/components/toolbar_buttons/toolbar_link_button.dart | 2 +- .../components/toolbar_buttons/toolbar_regular_button.dart | 2 +- .../components/toolbar_buttons/toolbar_underline_button.dart | 2 +- 9 files changed, 8 insertions(+), 8 deletions(-) rename lib/app/features/feed/views/components/text_editor/utils/{toggle_styles.dart => quill_style_manager.dart} (100%) diff --git a/lib/app/features/feed/views/components/text_editor/utils/toggle_styles.dart b/lib/app/features/feed/views/components/text_editor/utils/quill_style_manager.dart similarity index 100% rename from lib/app/features/feed/views/components/text_editor/utils/toggle_styles.dart rename to lib/app/features/feed/views/components/text_editor/utils/quill_style_manager.dart diff --git a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_bold_button.dart b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_bold_button.dart index d2d74551e..5a7cc8977 100644 --- a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_bold_button.dart +++ b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_bold_button.dart @@ -5,7 +5,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:flutter_quill/flutter_quill.dart'; import 'package:ion/app/features/feed/views/components/actions_toolbar_button/actions_toolbar_button.dart'; import 'package:ion/app/features/feed/views/components/text_editor/hooks/use_text_editor_font_style.dart'; -import 'package:ion/app/features/feed/views/components/text_editor/utils/toggle_styles.dart'; +import 'package:ion/app/features/feed/views/components/text_editor/utils/quill_style_manager.dart'; import 'package:ion/generated/assets.gen.dart'; class ToolbarBoldButton extends HookWidget { diff --git a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_h1_button.dart b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_h1_button.dart index f5dee832c..3b2eb2062 100644 --- a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_h1_button.dart +++ b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_h1_button.dart @@ -5,7 +5,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:flutter_quill/flutter_quill.dart'; import 'package:ion/app/features/feed/views/components/actions_toolbar_button/actions_toolbar_button.dart'; import 'package:ion/app/features/feed/views/components/text_editor/hooks/use_text_editor_font_style.dart'; -import 'package:ion/app/features/feed/views/components/text_editor/utils/toggle_styles.dart'; +import 'package:ion/app/features/feed/views/components/text_editor/utils/quill_style_manager.dart'; import 'package:ion/generated/assets.gen.dart'; class ToolbarH1Button extends HookWidget { diff --git a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_h2_button.dart b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_h2_button.dart index d70fdec69..460415532 100644 --- a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_h2_button.dart +++ b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_h2_button.dart @@ -5,7 +5,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:flutter_quill/flutter_quill.dart'; import 'package:ion/app/features/feed/views/components/actions_toolbar_button/actions_toolbar_button.dart'; import 'package:ion/app/features/feed/views/components/text_editor/hooks/use_text_editor_font_style.dart'; -import 'package:ion/app/features/feed/views/components/text_editor/utils/toggle_styles.dart'; +import 'package:ion/app/features/feed/views/components/text_editor/utils/quill_style_manager.dart'; import 'package:ion/generated/assets.gen.dart'; class ToolbarH2Button extends HookWidget { diff --git a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_h3_button.dart b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_h3_button.dart index 4dc7be3b7..715ca5100 100644 --- a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_h3_button.dart +++ b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_h3_button.dart @@ -5,7 +5,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:flutter_quill/flutter_quill.dart'; import 'package:ion/app/features/feed/views/components/actions_toolbar_button/actions_toolbar_button.dart'; import 'package:ion/app/features/feed/views/components/text_editor/hooks/use_text_editor_font_style.dart'; -import 'package:ion/app/features/feed/views/components/text_editor/utils/toggle_styles.dart'; +import 'package:ion/app/features/feed/views/components/text_editor/utils/quill_style_manager.dart'; import 'package:ion/generated/assets.gen.dart'; class ToolbarH3Button extends HookWidget { diff --git a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_italic_button.dart b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_italic_button.dart index f87eee37b..a359ece76 100644 --- a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_italic_button.dart +++ b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_italic_button.dart @@ -5,7 +5,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:flutter_quill/flutter_quill.dart'; import 'package:ion/app/features/feed/views/components/actions_toolbar_button/actions_toolbar_button.dart'; import 'package:ion/app/features/feed/views/components/text_editor/hooks/use_text_editor_font_style.dart'; -import 'package:ion/app/features/feed/views/components/text_editor/utils/toggle_styles.dart'; +import 'package:ion/app/features/feed/views/components/text_editor/utils/quill_style_manager.dart'; import 'package:ion/generated/assets.gen.dart'; class ToolbarItalicButton extends HookWidget { diff --git a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_link_button.dart b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_link_button.dart index 0320b5889..766c23ae3 100644 --- a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_link_button.dart +++ b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_link_button.dart @@ -4,7 +4,7 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter_quill/flutter_quill.dart'; import 'package:ion/app/extensions/extensions.dart'; import 'package:ion/app/features/feed/views/components/actions_toolbar_button/actions_toolbar_button.dart'; -import 'package:ion/app/features/feed/views/components/text_editor/utils/toggle_styles.dart'; +import 'package:ion/app/features/feed/views/components/text_editor/utils/quill_style_manager.dart'; import 'package:ion/generated/assets.gen.dart'; class ToolbarLinkButton extends StatelessWidget { diff --git a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_regular_button.dart b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_regular_button.dart index 590f1c6ca..aa7ae042a 100644 --- a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_regular_button.dart +++ b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_regular_button.dart @@ -5,7 +5,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:flutter_quill/flutter_quill.dart'; import 'package:ion/app/features/feed/views/components/actions_toolbar_button/actions_toolbar_button.dart'; import 'package:ion/app/features/feed/views/components/text_editor/hooks/use_text_editor_font_style.dart'; -import 'package:ion/app/features/feed/views/components/text_editor/utils/toggle_styles.dart'; +import 'package:ion/app/features/feed/views/components/text_editor/utils/quill_style_manager.dart'; import 'package:ion/generated/assets.gen.dart'; class ToolbarRegularButton extends HookWidget { diff --git a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_underline_button.dart b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_underline_button.dart index 683dab78b..4664e69c2 100644 --- a/lib/app/features/feed/views/components/toolbar_buttons/toolbar_underline_button.dart +++ b/lib/app/features/feed/views/components/toolbar_buttons/toolbar_underline_button.dart @@ -5,7 +5,7 @@ import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:flutter_quill/flutter_quill.dart'; import 'package:ion/app/features/feed/views/components/actions_toolbar_button/actions_toolbar_button.dart'; import 'package:ion/app/features/feed/views/components/text_editor/hooks/use_text_editor_font_style.dart'; -import 'package:ion/app/features/feed/views/components/text_editor/utils/toggle_styles.dart'; +import 'package:ion/app/features/feed/views/components/text_editor/utils/quill_style_manager.dart'; import 'package:ion/generated/assets.gen.dart'; class ToolbarUnderlineButton extends HookWidget {