diff --git a/example/lib/group_info_screen.dart b/example/lib/group_info_screen.dart index 3c469b9f..31653db8 100644 --- a/example/lib/group_info_screen.dart +++ b/example/lib/group_info_screen.dart @@ -333,6 +333,7 @@ class _GroupInfoScreenState extends State { ), style: TextStyle( fontWeight: FontWeight.bold, + height: 0.82, ), ), ), diff --git a/lib/src/channel_file_display_screen.dart b/lib/src/channel_file_display_screen.dart index a6b1008e..0cd3d854 100644 --- a/lib/src/channel_file_display_screen.dart +++ b/lib/src/channel_file_display_screen.dart @@ -159,30 +159,10 @@ class _ChannelFileDisplayScreenState extends State { 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], - ), + child: Padding( + padding: const EdgeInsets.all(8.0), + child: FileAttachment( + attachment: media.keys.toList()[position], ), ), ); diff --git a/lib/src/option_list_tile.dart b/lib/src/option_list_tile.dart index c1f48b71..382db945 100644 --- a/lib/src/option_list_tile.dart +++ b/lib/src/option_list_tile.dart @@ -41,12 +41,15 @@ class OptionListTile extends StatelessWidget { width: 16.0, ), Expanded( - flex: 4, - child: Text( - title, - style: TextStyle( - fontWeight: FontWeight.w600, color: titleColor), - )), + flex: 4, + child: Text( + title, + style: TextStyle( + fontWeight: FontWeight.w600, + color: titleColor, + ), + ), + ), Expanded( flex: 2, child: Padding(