Skip to content

Commit 907b09e

Browse files
committed
fix: revert "fix: do not use scrollview enhancer if the platform is not android (ff48e36)"
1 parent 2f95583 commit 907b09e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/uikit-react-native/src/components/ChatFlatList/FlatListInternal.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,13 @@ type BidirectionalProps<T> = {
1515
};
1616

1717
function shouldUseScrollViewEnhancer() {
18-
if (Platform.OS !== 'android') return false;
19-
2018
if (Platform.constants.reactNativeVersion?.major < 1) {
2119
if (Platform.constants.reactNativeVersion?.minor < 72) {
2220
return true;
2321
}
2422
}
2523
return false;
2624
}
27-
2825
function getFlatList(): FlatListBidirectional {
2926
if (shouldUseScrollViewEnhancer()) {
3027
try {

0 commit comments

Comments
 (0)