Skip to content

Commit

Permalink
fix: rm bottom padding on web
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Feb 24, 2024
1 parent 695f5db commit 1ed51cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/MessageView.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import React from 'react';
import {
View,
FlatList,
NativeSyntheticEvent,
NativeScrollEvent,
Platform,
View,
// Dimensions,
// Keyboard,
} from 'react-native';
Expand Down Expand Up @@ -255,7 +256,7 @@ export const NewMessageView = observer(
data={messages}
style={styles.messagesView}
contentContainerStyle={{
paddingBottom: 20,
paddingBottom: Platform.OS === 'web' ? 0 : 20,
flexGrow: 1,
justifyContent: 'flex-end',
flexDirection: 'column',
Expand Down

0 comments on commit 1ed51cf

Please sign in to comment.