fix: bug
This commit is contained in:
@@ -6,7 +6,6 @@ import {
|
||||
ScrollView,
|
||||
StatusBar as RNStatusBar,
|
||||
Pressable,
|
||||
RefreshControl,
|
||||
NativeScrollEvent,
|
||||
NativeSyntheticEvent,
|
||||
} from 'react-native'
|
||||
@@ -276,13 +275,6 @@ export default function MessageScreen() {
|
||||
showsVerticalScrollIndicator={false}
|
||||
onScroll={handleScroll}
|
||||
scrollEventThrottle={400}
|
||||
refreshControl={
|
||||
<RefreshControl
|
||||
refreshing={loading && messages.length > 0}
|
||||
onRefresh={refetch}
|
||||
tintColor="#FFFFFF"
|
||||
/>
|
||||
}
|
||||
>
|
||||
{messages.length > 0 ? (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user