{"action":"created","issue":{"url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/797","repository_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat","labels_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/797/labels{/name}","comments_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/797/comments","events_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/797/events","html_url":"https://github.com/FaridSafi/react-native-gifted-chat/issues/797","id":306110303,"number":797,"title":"Change color of Time text","user":{"login":"pentarex","id":914560,"avatar_url":"https://avatars2.githubusercontent.com/u/914560?v=4","gravatar_id":"","url":"https://api.github.com/users/pentarex","html_url":"https://github.com/pentarex","followers_url":"https://api.github.com/users/pentarex/followers","following_url":"https://api.github.com/users/pentarex/following{/other_user}","gists_url":"https://api.github.com/users/pentarex/gists{/gist_id}","starred_url":"https://api.github.com/users/pentarex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pentarex/subscriptions","organizations_url":"https://api.github.com/users/pentarex/orgs","repos_url":"https://api.github.com/users/pentarex/repos","events_url":"https://api.github.com/users/pentarex/events{/privacy}","received_events_url":"https://api.github.com/users/pentarex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-17T00:10:23Z","updated_at":"2018-04-03T11:25:24Z","closed_at":"2018-03-17T15:27:36Z","author_association":"CONTRIBUTOR","body":"#### Issue Description\r\n\r\nI am trying to change the text color of the Time component, but sadly I cannot.\r\nBefore it was working when I set the textStyle of the Bubble... (in v0.3.0)\r\nI saw that there was a change on 18 of December 2017 [5b67203570a2bcadf9475eec3c14149c4e404eac#diff-fde1e44c890e5f6e50b1f68f49f1034c](https://github.com/FaridSafi/react-native-gifted-chat/commit/5b67203570a2bcadf9475eec3c14149c4e404eac#diff-fde1e44c890e5f6e50b1f68f49f1034c)\r\nand the this.props.textStyle was removed\r\nWhat am I missing?\r\n\r\n#### Steps to Reproduce / Code Snippets\r\n\r\n```javascript\r\n    /** */\r\n    render() {\r\n        return (\r\n            <GiftedChat\r\n                loadEarlier={this.state.loadEarlier}\r\n                onLoadEarlier={this.onLoadEarlier.bind(this)}\r\n                isLoadingEarlier={this.state.isLoadingEarlier}\r\n                messages={this.state.messages}\r\n                onSend={messages => this.onSend(messages)}\r\n                user={this.getUserInfo()}\r\n                renderFooter={this.renderFooter.bind(this)}\r\n                onInputTextChanged={this.onInputTextChanged.bind(this)}\r\n                renderBubble={this.renderBubble.bind(this)}\r\n                renderAvatar={this.renderAvatar.bind(this)}\r\n                renderTime={this.renderTime.bind(this)}\r\n                showUserAvatar={true}\r\n                showAvatarForEveryMessage={true}\r\n                chatId={this.chatId}\r\n                minInputToolbarHeight={50}\r\n                bottomOffset={50}\r\n            />\r\n        );\r\n    }\r\n\r\n/** render the chat bubble */\r\n    renderBubble(props) {\r\n        return (\r\n            <Bubble\r\n                {...props}\r\n                wrapperStyle={{\r\n                    left: {\r\n                        backgroundColor: Colors.chatReceiver,\r\n                    },\r\n                    right: {\r\n                        backgroundColor: Colors.chatSender,\r\n                    }\r\n                }}\r\n                textStyle={{\r\n                    right: {\r\n                        color: Colors.snow,\r\n                        fontFamily: 'Montserrat-Light',\r\n                        fontSize: 14\r\n                    },\r\n                    left: {\r\n                        color: Colors.snow,\r\n                        fontFamily: 'Montserrat-Light',\r\n                        fontSize: 14\r\n                    }\r\n                }}\r\n            />\r\n        );\r\n    }\r\n\r\n/** render the time labels in the bubble */\r\n    renderTime() {\r\n        return (\r\n            <Time\r\n                textStyle={{\r\n                    right: {\r\n                        color: Colors.snow,\r\n                        fontFamily: 'Montserrat-Light',\r\n                        fontSize: 14\r\n                    },\r\n                    left: {\r\n                        color: Colors.snow,\r\n                        fontFamily: 'Montserrat-Light',\r\n                        fontSize: 14\r\n                    }\r\n                }}\r\n            />\r\n        );\r\n    }\r\n\r\n```\r\n\r\n#### Expected Results\r\n\r\nWhite text for the time\r\n\r\nCurrently looks like:\r\n<img width=\"343\" alt=\"screen shot 2018-03-17 at 01 04 49\" src=\"https://user-images.githubusercontent.com/914560/37549366-858811da-297f-11e8-94c1-d2bfbafabc02.png\">\r\n\r\n\r\n#### Additional Information\r\n\r\n* Nodejs version: v9.3.0\r\n* React version: 16.0.0\r\n* React Native version: 0.51.0\r\n* react-native-gifted-chat version: 0.4.3\r\n* Platform(s) (iOS, Android, or both?): both"},"comment":{"url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/comments/378216917","html_url":"https://github.com/FaridSafi/react-native-gifted-chat/issues/797#issuecomment-378216917","issue_url":"https://api.github.com/repos/FaridSafi/react-native-gifted-chat/issues/797","id":378216917,"user":{"login":"pentarex","id":914560,"avatar_url":"https://avatars2.githubusercontent.com/u/914560?v=4","gravatar_id":"","url":"https://api.github.com/users/pentarex","html_url":"https://github.com/pentarex","followers_url":"https://api.github.com/users/pentarex/followers","following_url":"https://api.github.com/users/pentarex/following{/other_user}","gists_url":"https://api.github.com/users/pentarex/gists{/gist_id}","starred_url":"https://api.github.com/users/pentarex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pentarex/subscriptions","organizations_url":"https://api.github.com/users/pentarex/orgs","repos_url":"https://api.github.com/users/pentarex/repos","events_url":"https://api.github.com/users/pentarex/events{/privacy}","received_events_url":"https://api.github.com/users/pentarex/received_events","type":"User","site_admin":false},"created_at":"2018-04-03T11:25:24Z","updated_at":"2018-04-03T11:25:24Z","author_association":"CONTRIBUTOR","body":"Hi,\r\nEither wait for new release. Or fork my branch :)"}}
{"actor":{"display_login":"pentarex"}}