Fix jank in notifications loading-state rendering

zio/stable
Paul Frazee 2022-11-28 14:22:19 -06:00
parent 9051aecdcb
commit 39aaa13468
1 changed files with 1 additions and 1 deletions

View File

@ -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 && (