mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
add loading indicator for inital projects fetch
This commit is contained in:
@@ -140,6 +140,11 @@ const Projects = ( {
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
if ( isLoading && projects.length === 0 ) {
|
||||
return <ActivityIndicator size={50} />;
|
||||
}
|
||||
|
||||
return (
|
||||
<ProjectList
|
||||
projects={projects}
|
||||
|
||||
Reference in New Issue
Block a user