{"action":"created","comment":{"url":"https://api.github.com/repos/kiwicom/mobile/pulls/comments/194761224","pull_request_review_id":127992640,"id":194761224,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDc2MTIyNA==","diff_hunk":"@@ -1,48 +1,22 @@\n-// @flow\n+// @flow strict\n \n import * as React from 'react';\n-import { View, StatusBar } from 'react-native';\n-\n-import StyleSheet from '../PlatformStyleSheet';\n-import Device from '../Device';\n+import { StatusBar } from 'react-native';\n \n type Props = {|\n-  children: React.Node,\n+  +children: React.Node,\n |};\n \n-const createStyles = () => {\n-  const styles: Object = {\n-    outerWrapper: {\n-      flex: 1,\n-      flexDirection: 'row',\n-      justifyContent: 'center',\n-    },\n-    innerWrapper: {\n-      flex: 1,\n-    },\n-  };\n-\n-  if (Device.isWideLayout()) {\n-    styles.innerWrapper.maxWidth = Device.getWideDeviceThreshold();\n-  }\n-  return StyleSheet.create(styles);\n-};\n-\n-/**\n- * This is base Layout component with default width. It can expand up to\n- * portrait mode width. This means that the content is centered in\n- * landscape mode.\n- */\n-export default function Layout({ children }: Props) {\n-  const defaultStyle = createStyles();\n+export default function Layout(props: Props) {","path":"packages/shared/src/view/Layout.js","position":41,"original_position":41,"commit_id":"b4ef3da4eea6fd955bcfc5ed387b24704cd48cdd","original_commit_id":"8f965f318f3beb03eccba943318ce010c99e6f8c","user":{"login":"RobinCsl","id":22741774,"node_id":"MDQ6VXNlcjIyNzQxNzc0","avatar_url":"https://avatars3.githubusercontent.com/u/22741774?v=4","gravatar_id":"","url":"https://api.github.com/users/RobinCsl","html_url":"https://github.com/RobinCsl","followers_url":"https://api.github.com/users/RobinCsl/followers","following_url":"https://api.github.com/users/RobinCsl/following{/other_user}","gists_url":"https://api.github.com/users/RobinCsl/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinCsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinCsl/subscriptions","organizations_url":"https://api.github.com/users/RobinCsl/orgs","repos_url":"https://api.github.com/users/RobinCsl/repos","events_url":"https://api.github.com/users/RobinCsl/events{/privacy}","received_events_url":"https://api.github.com/users/RobinCsl/received_events","type":"User","site_admin":false},"body":"You modified it because you preferred not to destructure. So I am just asking why you make the change as it seems to be arbitrary.","created_at":"2018-06-12T14:31:57Z","updated_at":"2018-06-12T14:31:57Z","html_url":"https://github.com/kiwicom/mobile/pull/736#discussion_r194761224","pull_request_url":"https://api.github.com/repos/kiwicom/mobile/pulls/736","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/kiwicom/mobile/pulls/comments/194761224"},"html":{"href":"https://github.com/kiwicom/mobile/pull/736#discussion_r194761224"},"pull_request":{"href":"https://api.github.com/repos/kiwicom/mobile/pulls/736"}},"in_reply_to_id":194710116},"pull_request":{"url":"https://api.github.com/repos/kiwicom/mobile/pulls/736","id":194206344,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MjA2MzQ0","html_url":"https://github.com/kiwicom/mobile/pull/736","diff_url":"https://github.com/kiwicom/mobile/pull/736.diff","patch_url":"https://github.com/kiwicom/mobile/pull/736.patch","issue_url":"https://api.github.com/repos/kiwicom/mobile/issues/736","number":736,"state":"closed","locked":false,"title":"Hotels: reuse double-column layout in the hotels package","user":{"login":"mrtnzlml","id":978368,"node_id":"MDQ6VXNlcjk3ODM2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/978368?v=4","gravatar_id":"","url":"https://api.github.com/users/mrtnzlml","html_url":"https://github.com/mrtnzlml","followers_url":"https://api.github.com/users/mrtnzlml/followers","following_url":"https://api.github.com/users/mrtnzlml/following{/other_user}","gists_url":"https://api.github.com/users/mrtnzlml/gists{/gist_id}","starred_url":"https://api.github.com/users/mrtnzlml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrtnzlml/subscriptions","organizations_url":"https://api.github.com/users/mrtnzlml/orgs","repos_url":"https://api.github.com/users/mrtnzlml/repos","events_url":"https://api.github.com/users/mrtnzlml/events{/privacy}","received_events_url":"https://api.github.com/users/mrtnzlml/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-12T08:43:34Z","updated_at":"2018-06-12T14:31:57Z","closed_at":"2018-06-12T14:00:16Z","merged_at":"2018-06-12T14:00:16Z","merge_commit_sha":"af3729bdb6176f44cac0c39e712d85b55df37dc9","assignee":{"login":"mrtnzlml","id":978368,"node_id":"MDQ6VXNlcjk3ODM2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/978368?v=4","gravatar_id":"","url":"https://api.github.com/users/mrtnzlml","html_url":"https://github.com/mrtnzlml","followers_url":"https://api.github.com/users/mrtnzlml/followers","following_url":"https://api.github.com/users/mrtnzlml/following{/other_user}","gists_url":"https://api.github.com/users/mrtnzlml/gists{/gist_id}","starred_url":"https://api.github.com/users/mrtnzlml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrtnzlml/subscriptions","organizations_url":"https://api.github.com/users/mrtnzlml/orgs","repos_url":"https://api.github.com/users/mrtnzlml/repos","events_url":"https://api.github.com/users/mrtnzlml/events{/privacy}","received_events_url":"https://api.github.com/users/mrtnzlml/received_events","type":"User","site_admin":false},"assignees":[{"login":"mrtnzlml","id":978368,"node_id":"MDQ6VXNlcjk3ODM2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/978368?v=4","gravatar_id":"","url":"https://api.github.com/users/mrtnzlml","html_url":"https://github.com/mrtnzlml","followers_url":"https://api.github.com/users/mrtnzlml/followers","following_url":"https://api.github.com/users/mrtnzlml/following{/other_user}","gists_url":"https://api.github.com/users/mrtnzlml/gists{/gist_id}","starred_url":"https://api.github.com/users/mrtnzlml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrtnzlml/subscriptions","organizations_url":"https://api.github.com/users/mrtnzlml/orgs","repos_url":"https://api.github.com/users/mrtnzlml/repos","events_url":"https://api.github.com/users/mrtnzlml/events{/privacy}","received_events_url":"https://api.github.com/users/mrtnzlml/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"tbergq","id":7705041,"node_id":"MDQ6VXNlcjc3MDUwNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/7705041?v=4","gravatar_id":"","url":"https://api.github.com/users/tbergq","html_url":"https://github.com/tbergq","followers_url":"https://api.github.com/users/tbergq/followers","following_url":"https://api.github.com/users/tbergq/following{/other_user}","gists_url":"https://api.github.com/users/tbergq/gists{/gist_id}","starred_url":"https://api.github.com/users/tbergq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbergq/subscriptions","organizations_url":"https://api.github.com/users/tbergq/orgs","repos_url":"https://api.github.com/users/tbergq/repos","events_url":"https://api.github.com/users/tbergq/events{/privacy}","received_events_url":"https://api.github.com/users/tbergq/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kiwicom/mobile/pulls/736/commits","review_comments_url":"https://api.github.com/repos/kiwicom/mobile/pulls/736/comments","review_comment_url":"https://api.github.com/repos/kiwicom/mobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kiwicom/mobile/issues/736/comments","statuses_url":"https://api.github.com/repos/kiwicom/mobile/statuses/b4ef3da4eea6fd955bcfc5ed387b24704cd48cdd","head":{"label":"kiwicom:mmb-reuse-layout-in-hotels","ref":"mmb-reuse-layout-in-hotels","sha":"b4ef3da4eea6fd955bcfc5ed387b24704cd48cdd","user":{"login":"kiwicom","id":25227300,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjI3MzAw","avatar_url":"https://avatars2.githubusercontent.com/u/25227300?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwicom","html_url":"https://github.com/kiwicom","followers_url":"https://api.github.com/users/kiwicom/followers","following_url":"https://api.github.com/users/kiwicom/following{/other_user}","gists_url":"https://api.github.com/users/kiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwicom/subscriptions","organizations_url":"https://api.github.com/users/kiwicom/orgs","repos_url":"https://api.github.com/users/kiwicom/repos","events_url":"https://api.github.com/users/kiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/kiwicom/received_events","type":"Organization","site_admin":false},"repo":{"id":105595148,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU1OTUxNDg=","name":"mobile","full_name":"kiwicom/mobile","owner":{"login":"kiwicom","id":25227300,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjI3MzAw","avatar_url":"https://avatars2.githubusercontent.com/u/25227300?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwicom","html_url":"https://github.com/kiwicom","followers_url":"https://api.github.com/users/kiwicom/followers","following_url":"https://api.github.com/users/kiwicom/following{/other_user}","gists_url":"https://api.github.com/users/kiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwicom/subscriptions","organizations_url":"https://api.github.com/users/kiwicom/orgs","repos_url":"https://api.github.com/users/kiwicom/repos","events_url":"https://api.github.com/users/kiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/kiwicom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kiwicom/mobile","description":":calling: Kiwi.com mobile app written in React Native","fork":false,"url":"https://api.github.com/repos/kiwicom/mobile","forks_url":"https://api.github.com/repos/kiwicom/mobile/forks","keys_url":"https://api.github.com/repos/kiwicom/mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiwicom/mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiwicom/mobile/teams","hooks_url":"https://api.github.com/repos/kiwicom/mobile/hooks","issue_events_url":"https://api.github.com/repos/kiwicom/mobile/issues/events{/number}","events_url":"https://api.github.com/repos/kiwicom/mobile/events","assignees_url":"https://api.github.com/repos/kiwicom/mobile/assignees{/user}","branches_url":"https://api.github.com/repos/kiwicom/mobile/branches{/branch}","tags_url":"https://api.github.com/repos/kiwicom/mobile/tags","blobs_url":"https://api.github.com/repos/kiwicom/mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiwicom/mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiwicom/mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiwicom/mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiwicom/mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/kiwicom/mobile/languages","stargazers_url":"https://api.github.com/repos/kiwicom/mobile/stargazers","contributors_url":"https://api.github.com/repos/kiwicom/mobile/contributors","subscribers_url":"https://api.github.com/repos/kiwicom/mobile/subscribers","subscription_url":"https://api.github.com/repos/kiwicom/mobile/subscription","commits_url":"https://api.github.com/repos/kiwicom/mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiwicom/mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiwicom/mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiwicom/mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiwicom/mobile/contents/{+path}","compare_url":"https://api.github.com/repos/kiwicom/mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiwicom/mobile/merges","archive_url":"https://api.github.com/repos/kiwicom/mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiwicom/mobile/downloads","issues_url":"https://api.github.com/repos/kiwicom/mobile/issues{/number}","pulls_url":"https://api.github.com/repos/kiwicom/mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/kiwicom/mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/kiwicom/mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiwicom/mobile/labels{/name}","releases_url":"https://api.github.com/repos/kiwicom/mobile/releases{/id}","deployments_url":"https://api.github.com/repos/kiwicom/mobile/deployments","created_at":"2017-10-02T23:21:42Z","updated_at":"2018-06-12T14:05:21Z","pushed_at":"2018-06-12T14:13:57Z","git_url":"git://github.com/kiwicom/mobile.git","ssh_url":"git@github.com:kiwicom/mobile.git","clone_url":"https://github.com/kiwicom/mobile.git","svn_url":"https://github.com/kiwicom/mobile","homepage":"https://www.kiwi.com/","size":13046,"stargazers_count":28,"watchers_count":28,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":10,"open_issues":20,"watchers":28,"default_branch":"master"}},"base":{"label":"kiwicom:master","ref":"master","sha":"94e1d51911105d9cc005c99445b4e1658b49e6ea","user":{"login":"kiwicom","id":25227300,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjI3MzAw","avatar_url":"https://avatars2.githubusercontent.com/u/25227300?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwicom","html_url":"https://github.com/kiwicom","followers_url":"https://api.github.com/users/kiwicom/followers","following_url":"https://api.github.com/users/kiwicom/following{/other_user}","gists_url":"https://api.github.com/users/kiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwicom/subscriptions","organizations_url":"https://api.github.com/users/kiwicom/orgs","repos_url":"https://api.github.com/users/kiwicom/repos","events_url":"https://api.github.com/users/kiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/kiwicom/received_events","type":"Organization","site_admin":false},"repo":{"id":105595148,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU1OTUxNDg=","name":"mobile","full_name":"kiwicom/mobile","owner":{"login":"kiwicom","id":25227300,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjI3MzAw","avatar_url":"https://avatars2.githubusercontent.com/u/25227300?v=4","gravatar_id":"","url":"https://api.github.com/users/kiwicom","html_url":"https://github.com/kiwicom","followers_url":"https://api.github.com/users/kiwicom/followers","following_url":"https://api.github.com/users/kiwicom/following{/other_user}","gists_url":"https://api.github.com/users/kiwicom/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwicom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwicom/subscriptions","organizations_url":"https://api.github.com/users/kiwicom/orgs","repos_url":"https://api.github.com/users/kiwicom/repos","events_url":"https://api.github.com/users/kiwicom/events{/privacy}","received_events_url":"https://api.github.com/users/kiwicom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kiwicom/mobile","description":":calling: Kiwi.com mobile app written in React Native","fork":false,"url":"https://api.github.com/repos/kiwicom/mobile","forks_url":"https://api.github.com/repos/kiwicom/mobile/forks","keys_url":"https://api.github.com/repos/kiwicom/mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kiwicom/mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kiwicom/mobile/teams","hooks_url":"https://api.github.com/repos/kiwicom/mobile/hooks","issue_events_url":"https://api.github.com/repos/kiwicom/mobile/issues/events{/number}","events_url":"https://api.github.com/repos/kiwicom/mobile/events","assignees_url":"https://api.github.com/repos/kiwicom/mobile/assignees{/user}","branches_url":"https://api.github.com/repos/kiwicom/mobile/branches{/branch}","tags_url":"https://api.github.com/repos/kiwicom/mobile/tags","blobs_url":"https://api.github.com/repos/kiwicom/mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kiwicom/mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kiwicom/mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/kiwicom/mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kiwicom/mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/kiwicom/mobile/languages","stargazers_url":"https://api.github.com/repos/kiwicom/mobile/stargazers","contributors_url":"https://api.github.com/repos/kiwicom/mobile/contributors","subscribers_url":"https://api.github.com/repos/kiwicom/mobile/subscribers","subscription_url":"https://api.github.com/repos/kiwicom/mobile/subscription","commits_url":"https://api.github.com/repos/kiwicom/mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/kiwicom/mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/kiwicom/mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/kiwicom/mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/kiwicom/mobile/contents/{+path}","compare_url":"https://api.github.com/repos/kiwicom/mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kiwicom/mobile/merges","archive_url":"https://api.github.com/repos/kiwicom/mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kiwicom/mobile/downloads","issues_url":"https://api.github.com/repos/kiwicom/mobile/issues{/number}","pulls_url":"https://api.github.com/repos/kiwicom/mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/kiwicom/mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/kiwicom/mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kiwicom/mobile/labels{/name}","releases_url":"https://api.github.com/repos/kiwicom/mobile/releases{/id}","deployments_url":"https://api.github.com/repos/kiwicom/mobile/deployments","created_at":"2017-10-02T23:21:42Z","updated_at":"2018-06-12T14:05:21Z","pushed_at":"2018-06-12T14:13:57Z","git_url":"git://github.com/kiwicom/mobile.git","ssh_url":"git@github.com:kiwicom/mobile.git","clone_url":"https://github.com/kiwicom/mobile.git","svn_url":"https://github.com/kiwicom/mobile","homepage":"https://www.kiwi.com/","size":13046,"stargazers_count":28,"watchers_count":28,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":10,"open_issues":20,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kiwicom/mobile/pulls/736"},"html":{"href":"https://github.com/kiwicom/mobile/pull/736"},"issue":{"href":"https://api.github.com/repos/kiwicom/mobile/issues/736"},"comments":{"href":"https://api.github.com/repos/kiwicom/mobile/issues/736/comments"},"review_comments":{"href":"https://api.github.com/repos/kiwicom/mobile/pulls/736/comments"},"review_comment":{"href":"https://api.github.com/repos/kiwicom/mobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kiwicom/mobile/pulls/736/commits"},"statuses":{"href":"https://api.github.com/repos/kiwicom/mobile/statuses/b4ef3da4eea6fd955bcfc5ed387b24704cd48cdd"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"RobinCsl"}}