diff options
author | dan <dan.abramov@gmail.com> | 2023-12-21 22:56:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 14:56:45 -0800 |
commit | bc31da47fdcb4c1704c96b0083f8e5429475da4e (patch) | |
tree | def266d74be5554614b53bf097e8d2ce24687615 /src/view/com/post-thread/PostThread.tsx | |
parent | 987c543727dd4d816987148ec3ccdb4337d601ac (diff) | |
download | voidsky-bc31da47fdcb4c1704c96b0083f8e5429475da4e.tar.zst |
Consolidate List props a bit (#2216)
Diffstat (limited to 'src/view/com/post-thread/PostThread.tsx')
-rw-r--r-- | src/view/com/post-thread/PostThread.tsx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx index 917550884..6cd1f3551 100644 --- a/src/view/com/post-thread/PostThread.tsx +++ b/src/view/com/post-thread/PostThread.tsx @@ -2,7 +2,6 @@ import React, {useEffect, useRef} from 'react' import { ActivityIndicator, Pressable, - RefreshControl, StyleSheet, TouchableOpacity, View, @@ -349,14 +348,8 @@ function PostThreadLoaded({ } keyExtractor={item => item._reactKey} renderItem={renderItem} - refreshControl={ - <RefreshControl - refreshing={isPTRing} - onRefresh={onPTR} - tintColor={pal.colors.text} - titleColor={pal.colors.text} - /> - } + refreshing={isPTRing} + onRefresh={onPTR} onContentSizeChange={onContentSizeChange} style={s.hContentRegion} // @ts-ignore our .web version only -prf |