Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: nightmode support for no recents text on the emoji menu (#3239)

Aryan Arora26e56194eadc
diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/emoji_picker/src/default_emoji_picker_view.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/emoji_picker/src/default_emoji_picker_view.dart
index 4bd3bcde7d..421331d464 100644
--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/emoji_picker/src/default_emoji_picker_view.dart
+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/emoji_picker/src/default_emoji_picker_view.dart
@@ -1,6 +1,6 @@
import 'package:flowy_infra_ui/style_widget/scrolling/styled_scroll_bar.dart';
+import 'package:flowy_infra_ui/style_widget/text.dart';
import 'package:flutter/material.dart';
-
import 'config.dart';
import 'emoji_picker.dart';
import 'emoji_picker_builder.dart';
@@ -284,10 +284,11 @@ class DefaultEmojiPickerViewState extends State<DefaultEmojiPickerView>
Widget _buildNoRecent() {
return Center(
- child: Text(
- widget.config.noRecentsText,
- style: widget.config.noRecentsStyle,
- textAlign: TextAlign.center,
- ),);
+ child: FlowyText.regular(
+ widget.config.noRecentsText,
+ color: Theme.of(context).colorScheme.tertiary.withAlpha(77),
+ fontSize: widget.config.noRecentsStyle.fontSize,
+ textAlign: TextAlign.center,
+ ),);
}
}