💄 Dynamic hide pinned chat if no need
This commit is contained in:
@@ -79,6 +79,7 @@ class ChatListBodyWidget extends HookConsumerWidget {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
// Always show pinned chats in their own section
|
// Always show pinned chats in their own section
|
||||||
|
if (pinnedItems.isNotEmpty)
|
||||||
ExpansionTile(
|
ExpansionTile(
|
||||||
backgroundColor: Theme.of(
|
backgroundColor: Theme.of(
|
||||||
context,
|
context,
|
||||||
|
|||||||
Reference in New Issue
Block a user