{"action":"created","comment":{"url":"https://api.github.com/repos/mattermost/mattermost-mobile/pulls/comments/217813170","pull_request_review_id":155624026,"id":217813170,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzgxMzE3MA==","diff_hunk":"@@ -357,21 +367,14 @@ export default class FileAttachmentDocument extends PureComponent {\n                 </CircularProgress>\n             );\n         } else {\n-            fileAttachmentComponent = (\n-                <FileAttachmentIcon\n-                    file={file.data}\n-                    theme={theme}\n-                    iconHeight={iconHeight}\n-                    iconWidth={iconWidth}\n-                    wrapperHeight={wrapperHeight}\n-                    wrapperWidth={wrapperWidth}\n-                />\n-            );\n+            fileAttachmentComponent = this.renderFileAttachmentIcon();\n         }\n \n         return (\n             <TouchableOpacity onPress={this.handlePreviewPress}>\n-                {fileAttachmentComponent}\n+                <View style={{backgroundColor: '#fff'}}>","path":"app/components/file_attachment_list/file_attachment_document.js","position":84,"original_position":84,"commit_id":"21c74acee334af640b2a55405b25356226869f0d","original_commit_id":"21c74acee334af640b2a55405b25356226869f0d","user":{"login":"hmhealey","id":3277310,"node_id":"MDQ6VXNlcjMyNzczMTA=","avatar_url":"https://avatars3.githubusercontent.com/u/3277310?v=4","gravatar_id":"","url":"https://api.github.com/users/hmhealey","html_url":"https://github.com/hmhealey","followers_url":"https://api.github.com/users/hmhealey/followers","following_url":"https://api.github.com/users/hmhealey/following{/other_user}","gists_url":"https://api.github.com/users/hmhealey/gists{/gist_id}","starred_url":"https://api.github.com/users/hmhealey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmhealey/subscriptions","organizations_url":"https://api.github.com/users/hmhealey/orgs","repos_url":"https://api.github.com/users/hmhealey/repos","events_url":"https://api.github.com/users/hmhealey/events{/privacy}","received_events_url":"https://api.github.com/users/hmhealey/received_events","type":"User","site_admin":false},"body":"Can this go in the stylesheet?","created_at":"2018-09-14T19:03:52Z","updated_at":"2018-09-14T19:05:36Z","html_url":"https://github.com/mattermost/mattermost-mobile/pull/2115#discussion_r217813170","pull_request_url":"https://api.github.com/repos/mattermost/mattermost-mobile/pulls/2115","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mattermost/mattermost-mobile/pulls/comments/217813170"},"html":{"href":"https://github.com/mattermost/mattermost-mobile/pull/2115#discussion_r217813170"},"pull_request":{"href":"https://api.github.com/repos/mattermost/mattermost-mobile/pulls/2115"}}},"pull_request":{"url":"https://api.github.com/repos/mattermost/mattermost-mobile/pulls/2115","id":215401922,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1NDAxOTIy","html_url":"https://github.com/mattermost/mattermost-mobile/pull/2115","diff_url":"https://github.com/mattermost/mattermost-mobile/pull/2115.diff","patch_url":"https://github.com/mattermost/mattermost-mobile/pull/2115.patch","issue_url":"https://api.github.com/repos/mattermost/mattermost-mobile/issues/2115","number":2115,"state":"open","locked":false,"title":"MM-12038 Fix attachment icon styling","user":{"login":"sudheerDev","id":4973621,"node_id":"MDQ6VXNlcjQ5NzM2MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/4973621?v=4","gravatar_id":"","url":"https://api.github.com/users/sudheerDev","html_url":"https://github.com/sudheerDev","followers_url":"https://api.github.com/users/sudheerDev/followers","following_url":"https://api.github.com/users/sudheerDev/following{/other_user}","gists_url":"https://api.github.com/users/sudheerDev/gists{/gist_id}","starred_url":"https://api.github.com/users/sudheerDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudheerDev/subscriptions","organizations_url":"https://api.github.com/users/sudheerDev/orgs","repos_url":"https://api.github.com/users/sudheerDev/repos","events_url":"https://api.github.com/users/sudheerDev/events{/privacy}","received_events_url":"https://api.github.com/users/sudheerDev/received_events","type":"User","site_admin":false},"body":"#### Summary\r\n  * Fix attachment icon background-color.\r\n  * Fix attachment icon alignment when downloading.\r\n\r\n#### Ticket Link\r\n[https://mattermost.atlassian.net/browse/MM-12038](MM-12038)\r\n\r\n#### Checklist\r\n[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]\r\n- [x] Has UI changes\r\n\r\n#### Device Information\r\nThis PR was tested on: Emulators (IOS and android)\r\n\r\n#### Screenshots\r\n![sep-14-2018 01-27-15](https://user-images.githubusercontent.com/4973621/45512492-771ea880-b7bd-11e8-8073-22e468c1d874.gif)\r\n![sep-14-2018 01-40-59](https://user-images.githubusercontent.com/4973621/45513078-56efe900-b7bf-11e8-9db5-a4e3f697eee0.gif)\r\n\r\n","created_at":"2018-09-13T20:12:30Z","updated_at":"2018-09-14T19:05:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ad6aafae178284ea01f0ea5b6669db816bedc42","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":460355330,"node_id":"MDU6TGFiZWw0NjAzNTUzMzA=","url":"https://api.github.com/repos/mattermost/mattermost-mobile/labels/2:%20Dev%20Review","name":"2: Dev Review","color":"eb6420","default":false}],"milestone":{"url":"https://api.github.com/repos/mattermost/mattermost-mobile/milestones/13","html_url":"https://github.com/mattermost/mattermost-mobile/milestone/13","labels_url":"https://api.github.com/repos/mattermost/mattermost-mobile/milestones/13/labels","id":3610789,"node_id":"MDk6TWlsZXN0b25lMzYxMDc4OQ==","number":13,"title":"1.13","description":"","creator":{"login":"hmhealey","id":3277310,"node_id":"MDQ6VXNlcjMyNzczMTA=","avatar_url":"https://avatars3.githubusercontent.com/u/3277310?v=4","gravatar_id":"","url":"https://api.github.com/users/hmhealey","html_url":"https://github.com/hmhealey","followers_url":"https://api.github.com/users/hmhealey/followers","following_url":"https://api.github.com/users/hmhealey/following{/other_user}","gists_url":"https://api.github.com/users/hmhealey/gists{/gist_id}","starred_url":"https://api.github.com/users/hmhealey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmhealey/subscriptions","organizations_url":"https://api.github.com/users/hmhealey/orgs","repos_url":"https://api.github.com/users/hmhealey/repos","events_url":"https://api.github.com/users/hmhealey/events{/privacy}","received_events_url":"https://api.github.com/users/hmhealey/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":5,"state":"open","created_at":"2018-08-30T17:39:05Z","updated_at":"2018-09-14T16:56:42Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/mattermost/mattermost-mobile/pulls/2115/commits","review_comments_url":"https://api.github.com/repos/mattermost/mattermost-mobile/pulls/2115/comments","review_comment_url":"https://api.github.com/repos/mattermost/mattermost-mobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mattermost/mattermost-mobile/issues/2115/comments","statuses_url":"https://api.github.com/repos/mattermost/mattermost-mobile/statuses/21c74acee334af640b2a55405b25356226869f0d","head":{"label":"sudheerDev:MM-12038","ref":"MM-12038","sha":"21c74acee334af640b2a55405b25356226869f0d","user":{"login":"sudheerDev","id":4973621,"node_id":"MDQ6VXNlcjQ5NzM2MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/4973621?v=4","gravatar_id":"","url":"https://api.github.com/users/sudheerDev","html_url":"https://github.com/sudheerDev","followers_url":"https://api.github.com/users/sudheerDev/followers","following_url":"https://api.github.com/users/sudheerDev/following{/other_user}","gists_url":"https://api.github.com/users/sudheerDev/gists{/gist_id}","starred_url":"https://api.github.com/users/sudheerDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudheerDev/subscriptions","organizations_url":"https://api.github.com/users/sudheerDev/orgs","repos_url":"https://api.github.com/users/sudheerDev/repos","events_url":"https://api.github.com/users/sudheerDev/events{/privacy}","received_events_url":"https://api.github.com/users/sudheerDev/received_events","type":"User","site_admin":false},"repo":{"id":129112780,"node_id":"MDEwOlJlcG9zaXRvcnkxMjkxMTI3ODA=","name":"mattermost-mobile","full_name":"sudheerDev/mattermost-mobile","owner":{"login":"sudheerDev","id":4973621,"node_id":"MDQ6VXNlcjQ5NzM2MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/4973621?v=4","gravatar_id":"","url":"https://api.github.com/users/sudheerDev","html_url":"https://github.com/sudheerDev","followers_url":"https://api.github.com/users/sudheerDev/followers","following_url":"https://api.github.com/users/sudheerDev/following{/other_user}","gists_url":"https://api.github.com/users/sudheerDev/gists{/gist_id}","starred_url":"https://api.github.com/users/sudheerDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudheerDev/subscriptions","organizations_url":"https://api.github.com/users/sudheerDev/orgs","repos_url":"https://api.github.com/users/sudheerDev/repos","events_url":"https://api.github.com/users/sudheerDev/events{/privacy}","received_events_url":"https://api.github.com/users/sudheerDev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sudheerDev/mattermost-mobile","description":"Next generation iOS and Android apps for Mattermost in React Native","fork":true,"url":"https://api.github.com/repos/sudheerDev/mattermost-mobile","forks_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/forks","keys_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/teams","hooks_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/hooks","issue_events_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/events","assignees_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/tags","blobs_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/languages","stargazers_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/stargazers","contributors_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/contributors","subscribers_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/subscribers","subscription_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/subscription","commits_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/merges","archive_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/downloads","issues_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/labels{/name}","releases_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/sudheerDev/mattermost-mobile/deployments","created_at":"2018-04-11T15:11:59Z","updated_at":"2018-04-11T15:12:03Z","pushed_at":"2018-09-14T15:14:43Z","git_url":"git://github.com/sudheerDev/mattermost-mobile.git","ssh_url":"git@github.com:sudheerDev/mattermost-mobile.git","clone_url":"https://github.com/sudheerDev/mattermost-mobile.git","svn_url":"https://github.com/sudheerDev/mattermost-mobile","homepage":"https://about.mattermost.com/","size":25333,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mattermost:master","ref":"master","sha":"a873640e4172fec7d1e9a311042694923fca371a","user":{"login":"mattermost","id":9828093,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4MjgwOTM=","avatar_url":"https://avatars1.githubusercontent.com/u/9828093?v=4","gravatar_id":"","url":"https://api.github.com/users/mattermost","html_url":"https://github.com/mattermost","followers_url":"https://api.github.com/users/mattermost/followers","following_url":"https://api.github.com/users/mattermost/following{/other_user}","gists_url":"https://api.github.com/users/mattermost/gists{/gist_id}","starred_url":"https://api.github.com/users/mattermost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattermost/subscriptions","organizations_url":"https://api.github.com/users/mattermost/orgs","repos_url":"https://api.github.com/users/mattermost/repos","events_url":"https://api.github.com/users/mattermost/events{/privacy}","received_events_url":"https://api.github.com/users/mattermost/received_events","type":"Organization","site_admin":false},"repo":{"id":70265724,"node_id":"MDEwOlJlcG9zaXRvcnk3MDI2NTcyNA==","name":"mattermost-mobile","full_name":"mattermost/mattermost-mobile","owner":{"login":"mattermost","id":9828093,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4MjgwOTM=","avatar_url":"https://avatars1.githubusercontent.com/u/9828093?v=4","gravatar_id":"","url":"https://api.github.com/users/mattermost","html_url":"https://github.com/mattermost","followers_url":"https://api.github.com/users/mattermost/followers","following_url":"https://api.github.com/users/mattermost/following{/other_user}","gists_url":"https://api.github.com/users/mattermost/gists{/gist_id}","starred_url":"https://api.github.com/users/mattermost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattermost/subscriptions","organizations_url":"https://api.github.com/users/mattermost/orgs","repos_url":"https://api.github.com/users/mattermost/repos","events_url":"https://api.github.com/users/mattermost/events{/privacy}","received_events_url":"https://api.github.com/users/mattermost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mattermost/mattermost-mobile","description":"Next generation iOS and Android apps for Mattermost in React Native","fork":false,"url":"https://api.github.com/repos/mattermost/mattermost-mobile","forks_url":"https://api.github.com/repos/mattermost/mattermost-mobile/forks","keys_url":"https://api.github.com/repos/mattermost/mattermost-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattermost/mattermost-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattermost/mattermost-mobile/teams","hooks_url":"https://api.github.com/repos/mattermost/mattermost-mobile/hooks","issue_events_url":"https://api.github.com/repos/mattermost/mattermost-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/mattermost/mattermost-mobile/events","assignees_url":"https://api.github.com/repos/mattermost/mattermost-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/mattermost/mattermost-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/mattermost/mattermost-mobile/tags","blobs_url":"https://api.github.com/repos/mattermost/mattermost-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattermost/mattermost-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattermost/mattermost-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattermost/mattermost-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattermost/mattermost-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/mattermost/mattermost-mobile/languages","stargazers_url":"https://api.github.com/repos/mattermost/mattermost-mobile/stargazers","contributors_url":"https://api.github.com/repos/mattermost/mattermost-mobile/contributors","subscribers_url":"https://api.github.com/repos/mattermost/mattermost-mobile/subscribers","subscription_url":"https://api.github.com/repos/mattermost/mattermost-mobile/subscription","commits_url":"https://api.github.com/repos/mattermost/mattermost-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattermost/mattermost-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattermost/mattermost-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattermost/mattermost-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattermost/mattermost-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/mattermost/mattermost-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattermost/mattermost-mobile/merges","archive_url":"https://api.github.com/repos/mattermost/mattermost-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattermost/mattermost-mobile/downloads","issues_url":"https://api.github.com/repos/mattermost/mattermost-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/mattermost/mattermost-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/mattermost/mattermost-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/mattermost/mattermost-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattermost/mattermost-mobile/labels{/name}","releases_url":"https://api.github.com/repos/mattermost/mattermost-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/mattermost/mattermost-mobile/deployments","created_at":"2016-10-07T16:52:32Z","updated_at":"2018-09-14T15:14:40Z","pushed_at":"2018-09-14T18:57:46Z","git_url":"git://github.com/mattermost/mattermost-mobile.git","ssh_url":"git@github.com:mattermost/mattermost-mobile.git","clone_url":"https://github.com/mattermost/mattermost-mobile.git","svn_url":"https://github.com/mattermost/mattermost-mobile","homepage":"https://about.mattermost.com/","size":25908,"stargazers_count":489,"watchers_count":489,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":224,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":224,"open_issues":24,"watchers":489,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mattermost/mattermost-mobile/pulls/2115"},"html":{"href":"https://github.com/mattermost/mattermost-mobile/pull/2115"},"issue":{"href":"https://api.github.com/repos/mattermost/mattermost-mobile/issues/2115"},"comments":{"href":"https://api.github.com/repos/mattermost/mattermost-mobile/issues/2115/comments"},"review_comments":{"href":"https://api.github.com/repos/mattermost/mattermost-mobile/pulls/2115/comments"},"review_comment":{"href":"https://api.github.com/repos/mattermost/mattermost-mobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mattermost/mattermost-mobile/pulls/2115/commits"},"statuses":{"href":"https://api.github.com/repos/mattermost/mattermost-mobile/statuses/21c74acee334af640b2a55405b25356226869f0d"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"hmhealey"}}