fix: icon sizes

This commit is contained in:
Deven Joshi
2021-06-11 16:24:50 +05:30
parent 807e9126f0
commit 52b97e4ad2
3 changed files with 7 additions and 7 deletions
@@ -205,9 +205,9 @@ class _ChatInfoScreenState extends State<ChatInfoScreen> {
tileColor: StreamChatTheme.of(context).colorTheme.whiteSnow,
titleTextStyle: StreamChatTheme.of(context).textTheme.body,
leading: Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
padding: const EdgeInsets.symmetric(horizontal: 22.0),
child: StreamSvgIcon.pin(
size: 36.0,
size: 24.0,
color:
StreamChatTheme.of(context).colorTheme.black.withOpacity(0.5),
),
@@ -488,9 +488,9 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
tileColor: StreamChatTheme.of(context).colorTheme.whiteSnow,
titleTextStyle: StreamChatTheme.of(context).textTheme.body,
leading: Padding(
padding: const EdgeInsets.symmetric(horizontal: 12.0),
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: StreamSvgIcon.pin(
size: 32.0,
size: 24.0,
color:
StreamChatTheme.of(context).colorTheme.black.withOpacity(0.5),
),
@@ -182,8 +182,8 @@ class _PinnedMessagesScreenState extends State<PinnedMessagesScreen> {
leading: UserAvatar(
user: user,
constraints: BoxConstraints(
maxWidth: 56.0,
minHeight: 56.0,
maxWidth: 40.0,
minHeight: 40.0,
),
borderRadius: BorderRadius.circular(28),
),
@@ -221,4 +221,4 @@ class _PinnedMessagesScreenState extends State<PinnedMessagesScreen> {
c!.dispose();
}
}
}
}