Fix jank in notifications loading-state rendering
parent
9051aecdcb
commit
39aaa13468
|
@ -32,7 +32,7 @@ export const Feed = observer(function Feed({
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<View style={{flex: 1}}>
|
<View style={{flex: 1}}>
|
||||||
{view.isLoading && !view.isRefreshing && (
|
{view.isLoading && !view.isRefreshing && !view.hasContent && (
|
||||||
<NotificationFeedLoadingPlaceholder />
|
<NotificationFeedLoadingPlaceholder />
|
||||||
)}
|
)}
|
||||||
{view.hasError && (
|
{view.hasError && (
|
||||||
|
|
Loading…
Reference in New Issue