|
@@ -21,7 +21,7 @@ index becd702..02ed162 100644
|
|
|
const styles = StyleSheet.create({
|
|
|
textInput: {
|
|
|
diff --git a/node_modules/react-native-gifted-chat/lib/GiftedChat/index.js b/node_modules/react-native-gifted-chat/lib/GiftedChat/index.js
|
|
|
-index 4fc42d2..cd571f8 100644
|
|
|
+index 4fc42d2..073d537 100644
|
|
|
--- a/node_modules/react-native-gifted-chat/lib/GiftedChat/index.js
|
|
|
+++ b/node_modules/react-native-gifted-chat/lib/GiftedChat/index.js
|
|
|
@@ -6,6 +6,7 @@ import { Platform, View, } from 'react-native';
|
|
@@ -44,16 +44,3 @@ index 4fc42d2..cd571f8 100644
|
|
|
maxLength: isTypingDisabled ? 0 : maxInputLength,
|
|
|
},
|
|
|
};
|
|
|
-@@ -279,9 +281,9 @@ function GiftedChat(props) {
|
|
|
- </GiftedChatContext.Provider>);
|
|
|
- }
|
|
|
- function GiftedChatWrapper(props) {
|
|
|
-- return (<KeyboardProvider>
|
|
|
-- <GiftedChat {...props}/>
|
|
|
-- </KeyboardProvider>);
|
|
|
-+ return LocalPlatform.OS=='ios'? ( <KeyboardProvider>
|
|
|
-+ <GiftedChat {...props}/>
|
|
|
-+ </KeyboardProvider>): <GiftedChat {...props}/>;
|
|
|
- }
|
|
|
- GiftedChatWrapper.append = (currentMessages = [], messages, inverted = true) => {
|
|
|
- if (!Array.isArray(messages))
|