aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-05-20 16:02:33 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-05-20 17:58:17 -0700
commit1f70bdd3d3b7edfddd6d2bad9cd27e22101d13d4 (patch)
tree447419cf7373554d58e2bfe56cb274746ea9c8fc /src
parent4ef2ccb03db2b454a9d13e6a7d885bce3a2f96c5 (diff)
Add image style to avatar- bugfix
Diffstat (limited to 'src')
-rw-r--r--src/components/common/Avatar.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/common/Avatar.tsx b/src/components/common/Avatar.tsx
index 86ebedf3..4d9aec41 100644
--- a/src/components/common/Avatar.tsx
+++ b/src/components/common/Avatar.tsx
@@ -16,6 +16,7 @@ const Avatar: FC<AvatarProps> = ({
return (
<ImageBackground
style={style}
+ imageStyle={style}
defaultSource={require('../../assets/images/avatar-placeholder.png')}
source={{uri, cache: 'reload'}}>
{loading && (