feat: enable emoji search (#5350)
This commit is contained in:
parent
0f91cb51d2
commit
ba7114b85e
2 changed files with 24 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue