chore: on web, show analytics in course chat view (#4085)
This commit is contained in:
parent
71b74fedbc
commit
e4c9487a97
2 changed files with 10 additions and 15 deletions
|
|
@ -26,12 +26,7 @@ class PangeaChatListHeader extends StatelessWidget
|
|||
delegate: SliverChildListDelegate(
|
||||
[
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
top: 16,
|
||||
left: 16,
|
||||
right: 16,
|
||||
bottom: 16,
|
||||
),
|
||||
padding: const EdgeInsets.all(16.0),
|
||||
child: Column(
|
||||
children: [
|
||||
const LearningProgressIndicators(),
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ import 'package:fluffychat/config/app_config.dart';
|
|||
import 'package:fluffychat/config/themes.dart';
|
||||
import 'package:fluffychat/l10n/l10n.dart';
|
||||
import 'package:fluffychat/pages/chat_list/chat_list_item.dart';
|
||||
import 'package:fluffychat/pangea/analytics_summary/learning_progress_indicators.dart';
|
||||
import 'package:fluffychat/pangea/course_chats/activity_template_chat_list_item.dart';
|
||||
import 'package:fluffychat/pangea/course_chats/course_chats_page.dart';
|
||||
import 'package:fluffychat/pangea/course_chats/unjoined_chat_list_item.dart';
|
||||
|
|
@ -71,22 +72,21 @@ class CourseChatsView extends StatelessWidget {
|
|||
// courses chats title
|
||||
if (i == 0) {
|
||||
if (isColumnMode) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 10.0),
|
||||
return const Padding(
|
||||
padding: EdgeInsets.symmetric(
|
||||
vertical: 4.0,
|
||||
horizontal: 8.0,
|
||||
),
|
||||
child: Column(
|
||||
spacing: 12.0,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
const SizedBox(height: 24.0),
|
||||
const Icon(
|
||||
LearningProgressIndicators(),
|
||||
Icon(
|
||||
Icons.chat_bubble_outline,
|
||||
size: 30.0,
|
||||
),
|
||||
Text(
|
||||
L10n.of(context).courseChats,
|
||||
style: const TextStyle(fontSize: 12.0),
|
||||
),
|
||||
const SizedBox(height: 14.0),
|
||||
SizedBox(height: 12.0),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue