aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAshm Walia <ashmwalia@outlook.com>2021-01-19 16:38:20 -0800
committerAshm Walia <ashmwalia@outlook.com>2021-01-19 16:38:20 -0800
commit6b8a6a481f751d274909178c2b14592514799189 (patch)
treea656173bd9d949573d67e74fc3d6aca9b9c36c74 /src
parentabbf0e15b860a503941223b21f38791409906d83 (diff)
Small change
Diffstat (limited to 'src')
-rw-r--r--src/components/common/TaggLoadingIndicator.tsx16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/components/common/TaggLoadingIndicator.tsx b/src/components/common/TaggLoadingIndicator.tsx
index dd1ae332..e518c926 100644
--- a/src/components/common/TaggLoadingIndicator.tsx
+++ b/src/components/common/TaggLoadingIndicator.tsx
@@ -9,15 +9,13 @@ interface TaggLoadingIndicatorProps {
const TaggLoadingIndicator: React.FC<TaggLoadingIndicatorProps> = ({
fullscreen = false,
}) => {
- return fullscreen ? (
- <View style={[styles.fullscreen, styles.container, styles.horizontal]}>
- <Image
- source={require('../../assets/gifs/loading-animation.gif')}
- style={styles.icon}
- />
- </View>
- ) : (
- <View style={[styles.container, styles.horizontal]}>
+ return (
+ <View
+ style={[
+ fullscreen ? styles.fullscreen : {},
+ styles.container,
+ styles.horizontal,
+ ]}>
<Image
source={require('../../assets/gifs/loading-animation.gif')}
style={styles.icon}