This commit is contained in:
KoalaSat 2023-01-25 18:29:48 +01:00
parent 3b2b9ba3d9
commit c0967558d4
No known key found for this signature in database
GPG Key ID: 2F7F61C6146AB157

View File

@ -140,12 +140,16 @@ export const NotePage: React.FC<NotePageProps> = ({ route }) => {
refreshControl={<RefreshControl refreshing={refreshing} onRefresh={onRefresh} />}
>
<NoteCard note={note} onPressUser={openProfileDrawer} />
{replies && replies.length > 0 && (
<View style={[styles.list, { borderColor: theme.colors.onSecondary }]}>
{replies.map((note, index) => renderItem(note, index))}
{replies.length >= 10 && <ActivityIndicator style={styles.loading} animating={true} />}
</View>
)}
<View style={[styles.list, { borderColor: theme.colors.onSecondary }]}>
{replies && replies.length > 0 && (
<>
{replies.map((note, index) => renderItem(note, index))}
{replies.length >= 10 && (
<ActivityIndicator style={styles.loading} animating={true} />
)}
</>
)}
</View>
</ScrollView>
{privateKey && (
<AnimatedFAB