diff options
author | dan <dan.abramov@gmail.com> | 2024-01-24 23:01:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 23:01:22 +0000 |
commit | c2733bc2c00d0a4cc79e3dc9436ae5950cc2ff61 (patch) | |
tree | 060618ee750472efed921f076d68a5efffe21a77 /src/view/com/post-thread/PostThread.tsx | |
parent | 9ff74ff30ac2d9e9bf461267a408442e616882c2 (diff) | |
download | voidsky-c2733bc2c00d0a4cc79e3dc9436ae5950cc2ff61.tar.zst |
Use consistent spinners for loading screens (#2611)
* Use consistent spinners for loading screens * Consolidate into LoadingScreen
Diffstat (limited to 'src/view/com/post-thread/PostThread.tsx')
-rw-r--r-- | src/view/com/post-thread/PostThread.tsx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx index 072ef7e33..8d2a4ac95 100644 --- a/src/view/com/post-thread/PostThread.tsx +++ b/src/view/com/post-thread/PostThread.tsx @@ -8,6 +8,7 @@ import { } from 'react-native' import {AppBskyFeedDefs} from '@atproto/api' import {CenteredView} from '../util/Views' +import {LoadingScreen} from '../util/LoadingScreen' import {List, ListMethods} from '../util/List' import { FontAwesomeIcon, @@ -125,13 +126,7 @@ export function PostThread({ return <PostThreadBlocked /> } if (!thread || isLoading || !preferences) { - return ( - <CenteredView> - <View style={s.p20}> - <ActivityIndicator size="large" /> - </View> - </CenteredView> - ) + return <LoadingScreen /> } return ( <PostThreadLoaded |