Skip to content

Commit

Permalink
Merge pull request #69 from neulbo27/master
Browse files Browse the repository at this point in the history
세션 상세 Dialog에서 연사 이미지를 터치하면 닫히는 현상 수정
  • Loading branch information
Jiyoung9310 authored Apr 1, 2019
2 parents 65bc3c2 + 636c022 commit bb3ab2d
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions lib/pages/session_detail_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -166,20 +166,22 @@ class SessionDetailDialog extends ModalRoute<void> {
}

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: () => {}
);
}
}

0 comments on commit bb3ab2d

Please sign in to comment.