Fix to error screen and postthread loading state (#540)
* Fix loading state on postthread * Improve error screen rendering * Dark mode exclamation in error screen * Fix lint
This commit is contained in:
parent
8f3915e0a5
commit
ae895155fd
3 changed files with 23 additions and 23 deletions
|
@ -130,10 +130,16 @@ export const PostThread = observer(function PostThread({
|
|||
|
||||
// loading
|
||||
// =
|
||||
if ((view.isLoading && !view.isRefreshing) || view.params.uri !== uri) {
|
||||
if (
|
||||
!view.hasLoaded ||
|
||||
(view.isLoading && !view.isRefreshing) ||
|
||||
view.params.uri !== uri
|
||||
) {
|
||||
return (
|
||||
<CenteredView>
|
||||
<ActivityIndicator />
|
||||
<View style={s.p20}>
|
||||
<ActivityIndicator size="large" />
|
||||
</View>
|
||||
</CenteredView>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue