diff --git a/lib/pages/session_detail_dialog.dart b/lib/pages/session_detail_dialog.dart index 939d689..421e0d6 100644 --- a/lib/pages/session_detail_dialog.dart +++ b/lib/pages/session_detail_dialog.dart @@ -166,20 +166,22 @@ class SessionDetailDialog extends ModalRoute { } Widget avatarContainer(SpeakerModel speaker) { - return Container( - decoration: BoxDecoration(shape: BoxShape.circle, color: Colors.white), + return GestureDetector( child: ClipOval( - child: FadeInImage( - width: avatarSize, - height: avatarSize, - fadeInDuration: const Duration(seconds: 0), - fadeOutDuration: const Duration(seconds: 0), - image: CachedNetworkImageProvider(speaker.avatarUrl), - placeholder: AssetImage(Platform.isAndroid - ? Strings.IMAGES_DK_PROFILE - : Strings.IMAGES_DK_IOS_PROFILE), - fit: BoxFit.fitHeight, - )), + child: FadeInImage( + width: avatarSize, + height: avatarSize, + fadeInDuration: const Duration(seconds: 0), + fadeOutDuration: const Duration(seconds: 0), + image: CachedNetworkImageProvider(speaker.avatarUrl), + placeholder: AssetImage(Platform.isAndroid + ? Strings.IMAGES_DK_PROFILE + : Strings.IMAGES_DK_IOS_PROFILE), + fit: BoxFit.fitHeight, + ) + ), + + onTap: () => {} ); } }