fix: fixes for review

This commit is contained in:
Deven Joshi
2020-12-31 18:38:38 +05:30
parent f02f8a27cb
commit 1a6d575e5a
3 changed files with 14 additions and 30 deletions
+1
View File
@@ -333,6 +333,7 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
),
style: TextStyle(
fontWeight: FontWeight.bold,
height: 0.82,
),
),
),
-20
View File
@@ -159,32 +159,12 @@ class _ChannelFileDisplayScreenState extends State<ChannelFileDisplayScreen> {
return Padding(
padding: const EdgeInsets.all(1.0),
child: InkWell(
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => StreamChannel(
channel: channel,
child: FullScreenMedia(
mediaAttachments: [
media.keys.toList()[position],
],
message: media.values.toList()[position],
sentAt: media.values.toList()[position].createdAt,
userName: media.values.toList()[position].user.name,
),
),
),
);
},
child: Padding(
padding: const EdgeInsets.all(8.0),
child: FileAttachment(
attachment: media.keys.toList()[position],
),
),
),
);
},
itemCount: media.length,
+5 -2
View File
@@ -45,8 +45,11 @@ class OptionListTile extends StatelessWidget {
child: Text(
title,
style: TextStyle(
fontWeight: FontWeight.w600, color: titleColor),
)),
fontWeight: FontWeight.w600,
color: titleColor,
),
),
),
Expanded(
flex: 2,
child: Padding(