Fix jank in notifications loading-state rendering

This commit is contained in:
Paul Frazee 2022-11-28 14:22:19 -06:00
parent 9051aecdcb
commit 39aaa13468

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