feat: enable emoji search (#5350)

This commit is contained in:
ggurdin 2026-01-22 13:33:52 -05:00 committed by GitHub
parent 0f91cb51d2
commit ba7114b85e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 3 deletions

View file

@ -49,8 +49,19 @@ class ChatEmojiPicker extends StatelessWidget {
backgroundColor:
theme.colorScheme.onInverseSurface,
),
bottomActionBarConfig: const BottomActionBarConfig(
enabled: false,
bottomActionBarConfig: BottomActionBarConfig(
// #Pangea
// enabled: false,
showBackspaceButton: false,
backgroundColor: Theme.of(context)
.colorScheme
.surfaceContainer,
buttonColor: Theme.of(context)
.colorScheme
.surfaceContainer,
buttonIconColor:
Theme.of(context).colorScheme.onSurface,
// Pangea#
),
categoryViewConfig: CategoryViewConfig(
backspaceColor: theme.colorScheme.primary,
@ -68,6 +79,17 @@ class ChatEmojiPicker extends StatelessWidget {
)!,
indicatorColor: theme.colorScheme.onSurface,
),
// #Pangea
viewOrderConfig: const ViewOrderConfig(
middle: EmojiPickerItem.searchBar,
top: EmojiPickerItem.categoryBar,
bottom: EmojiPickerItem.emojiView,
),
searchViewConfig: SearchViewConfig(
backgroundColor: theme.colorScheme.surface,
buttonIconColor: theme.colorScheme.onSurface,
),
// Pangea#
),
),
// #Pangea

View file

@ -43,7 +43,6 @@ import '../../widgets/matrix.dart';
import 'package:fluffychat/utils/tor_stub.dart'
if (dart.library.html) 'package:tor_detector_web/tor_detector_web.dart';
enum PopupMenuAction {
settings,
invite,