From 464e0aa64ec0d971fa84d86e1baa2e412c01fbe2 Mon Sep 17 00:00:00 2001 From: SRevels Date: Fri, 3 Nov 2023 20:22:51 +0000 Subject: [PATCH] Background/Font Color toolbar button tooltips reversed --- lib/src/widgets/toolbar/buttons/color.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/widgets/toolbar/buttons/color.dart b/lib/src/widgets/toolbar/buttons/color.dart index ed431fea..d481ae5c 100644 --- a/lib/src/widgets/toolbar/buttons/color.dart +++ b/lib/src/widgets/toolbar/buttons/color.dart @@ -131,7 +131,7 @@ class _QuillToolbarColorButtonState extends State { String get tooltip { return options.tooltip ?? baseButtonExtraOptions.tooltip ?? - (widget.isBackground ? 'Font color'.i18n : 'Background color'.i18n); + (widget.isBackground ? 'Background color'.i18n : 'Font color'.i18n); } @override