chore: hide emoji tab text, make whole search bar clickable (#5790)

This commit is contained in:
ggurdin 2026-02-24 13:39:55 -05:00 committed by GitHub
parent 91e03f7212
commit 8c5b52eb45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,14 +30,14 @@ class ChatEmojiPicker extends StatelessWidget {
// Pangea#
child: Column(
children: [
TabBar(
tabs: [
Tab(text: L10n.of(context).emojis),
// #Pangea
// Tab(text: L10n.of(context).stickers),
// Pangea#
],
),
// #Pangea
// TabBar(
// tabs: [
// Tab(text: L10n.of(context).emojis),
// Tab(text: L10n.of(context).stickers),
// ],
// ),
// Pangea#
Expanded(
child: TabBarView(
children: [
@ -54,16 +54,23 @@ class ChatEmojiPicker extends StatelessWidget {
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,
customBottomActionBar:
(config, state, showSearchView) => Container(
decoration: BoxDecoration(
color: theme.colorScheme.surfaceContainer,
),
child: InkWell(
onTap: showSearchView,
child: Row(
children: [
const Padding(
padding: EdgeInsets.all(12.0),
child: Icon(Icons.search),
),
],
),
),
),
// Pangea#
),
categoryViewConfig: CategoryViewConfig(