мультиаккаунгтинг(багованный, но он есть), избранное коректно отображается, убрана кнопка ответить в канале, добавлена поддержка видеокружков и голосовых сообщений
This commit is contained in:
@@ -26,7 +26,7 @@ class GroupHeader extends StatelessWidget {
|
||||
|
||||
final colors = Theme.of(context).colorScheme;
|
||||
final onlineCount = chat.onlineParticipantsCount;
|
||||
final totalCount = chat.participantsCount;
|
||||
final totalCount = chat.participantsCount ?? chat.participantIds.length;
|
||||
|
||||
return GestureDetector(
|
||||
onTap: () => _showGroupManagementPanel(context),
|
||||
@@ -38,7 +38,6 @@ class GroupHeader extends StatelessWidget {
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
|
||||
GroupAvatars(
|
||||
chat: chat,
|
||||
contacts: contacts,
|
||||
@@ -49,7 +48,6 @@ class GroupHeader extends StatelessWidget {
|
||||
|
||||
const SizedBox(width: 12),
|
||||
|
||||
|
||||
Expanded(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
@@ -67,7 +65,6 @@ class GroupHeader extends StatelessWidget {
|
||||
const SizedBox(height: 2),
|
||||
Row(
|
||||
children: [
|
||||
|
||||
if (onlineCount > 0) ...[
|
||||
Container(
|
||||
width: 8,
|
||||
@@ -89,7 +86,6 @@ class GroupHeader extends StatelessWidget {
|
||||
const SizedBox(width: 8),
|
||||
],
|
||||
|
||||
|
||||
Text(
|
||||
'$totalCount участников',
|
||||
style: TextStyle(
|
||||
|
||||
Reference in New Issue
Block a user