{"action":"created","comment":{"url":"https://api.github.com/repos/yonadev/yona-app-android/pulls/comments/227233653","pull_request_review_id":167225178,"id":227233653,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzIzMzY1Mw==","diff_hunk":"@@ -511,6 +509,23 @@ private void updateDayActivityData(DayActivity dayActivity)\n \t\tviewPager.setCurrentItem(dayActivityList.indexOf(dayActivity));\n \t\tupdateFlow(dayActivityList.indexOf(dayActivity));\n \t\tYonaActivity.getActivity().showLoadingView(false, null);\n+\t\tsetUpYonaHeaderTheme();\n+\t\tsetDayDetailActivityTitle();\n+\t\tsetUpUserDetailsInHeader();\n+\n+\t}\n+\n+\tprivate void setUpYonaHeaderTheme()\n+\t{\n+\t\tif (activity.getYonaGoal().getNickName().equals(YonaApplication.getEventChangeManager().getDataState().getUser().getNickname()))","path":"app/src/main/java/nu/yona/app/ui/dashboard/SingleDayActivityDetailFragment.java","position":21,"original_position":21,"commit_id":"60437ac726d7233b5020db31ad7849cea5f1a5ac","original_commit_id":"60437ac726d7233b5020db31ad7849cea5f1a5ac","user":{"login":"Sivateja-CMI","id":35359277,"node_id":"MDQ6VXNlcjM1MzU5Mjc3","avatar_url":"https://avatars0.githubusercontent.com/u/35359277?v=4","gravatar_id":"","url":"https://api.github.com/users/Sivateja-CMI","html_url":"https://github.com/Sivateja-CMI","followers_url":"https://api.github.com/users/Sivateja-CMI/followers","following_url":"https://api.github.com/users/Sivateja-CMI/following{/other_user}","gists_url":"https://api.github.com/users/Sivateja-CMI/gists{/gist_id}","starred_url":"https://api.github.com/users/Sivateja-CMI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sivateja-CMI/subscriptions","organizations_url":"https://api.github.com/users/Sivateja-CMI/orgs","repos_url":"https://api.github.com/users/Sivateja-CMI/repos","events_url":"https://api.github.com/users/Sivateja-CMI/events{/privacy}","received_events_url":"https://api.github.com/users/Sivateja-CMI/received_events","type":"User","site_admin":false},"body":"I am not setting a theme on notification. The code above is in SingleDayActivityDetailFragment.java which shows details of day activity of given user (Buddy or self.\r\nYou are right that the header (bar color, user icon position and color) is different for both. \r\n Linked user you said above is ```yona:user``` in the Notification object right ? It seems to be same in both the cases. ","created_at":"2018-10-23T05:54:08Z","updated_at":"2018-10-23T05:54:08Z","html_url":"https://github.com/yonadev/yona-app-android/pull/524#discussion_r227233653","pull_request_url":"https://api.github.com/repos/yonadev/yona-app-android/pulls/524","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/yonadev/yona-app-android/pulls/comments/227233653"},"html":{"href":"https://github.com/yonadev/yona-app-android/pull/524#discussion_r227233653"},"pull_request":{"href":"https://api.github.com/repos/yonadev/yona-app-android/pulls/524"}},"in_reply_to_id":226039369},"pull_request":{"url":"https://api.github.com/repos/yonadev/yona-app-android/pulls/524","id":223568978,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNTY4OTc4","html_url":"https://github.com/yonadev/yona-app-android/pull/524","diff_url":"https://github.com/yonadev/yona-app-android/pull/524.diff","patch_url":"https://github.com/yonadev/yona-app-android/pull/524.patch","issue_url":"https://api.github.com/repos/yonadev/yona-app-android/issues/524","number":524,"state":"open","locked":false,"title":"APPDEV-1183 Wrong goal name in notification details","user":{"login":"Sivateja-CMI","id":35359277,"node_id":"MDQ6VXNlcjM1MzU5Mjc3","avatar_url":"https://avatars0.githubusercontent.com/u/35359277?v=4","gravatar_id":"","url":"https://api.github.com/users/Sivateja-CMI","html_url":"https://github.com/Sivateja-CMI","followers_url":"https://api.github.com/users/Sivateja-CMI/followers","following_url":"https://api.github.com/users/Sivateja-CMI/following{/other_user}","gists_url":"https://api.github.com/users/Sivateja-CMI/gists{/gist_id}","starred_url":"https://api.github.com/users/Sivateja-CMI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sivateja-CMI/subscriptions","organizations_url":"https://api.github.com/users/Sivateja-CMI/orgs","repos_url":"https://api.github.com/users/Sivateja-CMI/repos","events_url":"https://api.github.com/users/Sivateja-CMI/events{/privacy}","received_events_url":"https://api.github.com/users/Sivateja-CMI/received_events","type":"User","site_admin":false},"body":"Fix for day detail activity screen header theme in below cases.\r\n- Navigating from Notification click.\r\n- Navigating from Friends time line.","created_at":"2018-10-17T11:38:41Z","updated_at":"2018-10-23T05:54:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28f925b2513428b1ab3df42ba080fc64a5277bfd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/yonadev/yona-app-android/pulls/524/commits","review_comments_url":"https://api.github.com/repos/yonadev/yona-app-android/pulls/524/comments","review_comment_url":"https://api.github.com/repos/yonadev/yona-app-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yonadev/yona-app-android/issues/524/comments","statuses_url":"https://api.github.com/repos/yonadev/yona-app-android/statuses/60437ac726d7233b5020db31ad7849cea5f1a5ac","head":{"label":"yonadev:feature/appdev-1183-wrong-goal-name-in-notification-details","ref":"feature/appdev-1183-wrong-goal-name-in-notification-details","sha":"60437ac726d7233b5020db31ad7849cea5f1a5ac","user":{"login":"yonadev","id":14901571,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTAxNTcx","avatar_url":"https://avatars2.githubusercontent.com/u/14901571?v=4","gravatar_id":"","url":"https://api.github.com/users/yonadev","html_url":"https://github.com/yonadev","followers_url":"https://api.github.com/users/yonadev/followers","following_url":"https://api.github.com/users/yonadev/following{/other_user}","gists_url":"https://api.github.com/users/yonadev/gists{/gist_id}","starred_url":"https://api.github.com/users/yonadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonadev/subscriptions","organizations_url":"https://api.github.com/users/yonadev/orgs","repos_url":"https://api.github.com/users/yonadev/repos","events_url":"https://api.github.com/users/yonadev/events{/privacy}","received_events_url":"https://api.github.com/users/yonadev/received_events","type":"Organization","site_admin":false},"repo":{"id":54408552,"node_id":"MDEwOlJlcG9zaXRvcnk1NDQwODU1Mg==","name":"yona-app-android","full_name":"yonadev/yona-app-android","private":false,"owner":{"login":"yonadev","id":14901571,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTAxNTcx","avatar_url":"https://avatars2.githubusercontent.com/u/14901571?v=4","gravatar_id":"","url":"https://api.github.com/users/yonadev","html_url":"https://github.com/yonadev","followers_url":"https://api.github.com/users/yonadev/followers","following_url":"https://api.github.com/users/yonadev/following{/other_user}","gists_url":"https://api.github.com/users/yonadev/gists{/gist_id}","starred_url":"https://api.github.com/users/yonadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonadev/subscriptions","organizations_url":"https://api.github.com/users/yonadev/orgs","repos_url":"https://api.github.com/users/yonadev/repos","events_url":"https://api.github.com/users/yonadev/events{/privacy}","received_events_url":"https://api.github.com/users/yonadev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/yonadev/yona-app-android","description":"Yona app on Android","fork":false,"url":"https://api.github.com/repos/yonadev/yona-app-android","forks_url":"https://api.github.com/repos/yonadev/yona-app-android/forks","keys_url":"https://api.github.com/repos/yonadev/yona-app-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yonadev/yona-app-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yonadev/yona-app-android/teams","hooks_url":"https://api.github.com/repos/yonadev/yona-app-android/hooks","issue_events_url":"https://api.github.com/repos/yonadev/yona-app-android/issues/events{/number}","events_url":"https://api.github.com/repos/yonadev/yona-app-android/events","assignees_url":"https://api.github.com/repos/yonadev/yona-app-android/assignees{/user}","branches_url":"https://api.github.com/repos/yonadev/yona-app-android/branches{/branch}","tags_url":"https://api.github.com/repos/yonadev/yona-app-android/tags","blobs_url":"https://api.github.com/repos/yonadev/yona-app-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yonadev/yona-app-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yonadev/yona-app-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/yonadev/yona-app-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yonadev/yona-app-android/statuses/{sha}","languages_url":"https://api.github.com/repos/yonadev/yona-app-android/languages","stargazers_url":"https://api.github.com/repos/yonadev/yona-app-android/stargazers","contributors_url":"https://api.github.com/repos/yonadev/yona-app-android/contributors","subscribers_url":"https://api.github.com/repos/yonadev/yona-app-android/subscribers","subscription_url":"https://api.github.com/repos/yonadev/yona-app-android/subscription","commits_url":"https://api.github.com/repos/yonadev/yona-app-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/yonadev/yona-app-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/yonadev/yona-app-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/yonadev/yona-app-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/yonadev/yona-app-android/contents/{+path}","compare_url":"https://api.github.com/repos/yonadev/yona-app-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yonadev/yona-app-android/merges","archive_url":"https://api.github.com/repos/yonadev/yona-app-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yonadev/yona-app-android/downloads","issues_url":"https://api.github.com/repos/yonadev/yona-app-android/issues{/number}","pulls_url":"https://api.github.com/repos/yonadev/yona-app-android/pulls{/number}","milestones_url":"https://api.github.com/repos/yonadev/yona-app-android/milestones{/number}","notifications_url":"https://api.github.com/repos/yonadev/yona-app-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yonadev/yona-app-android/labels{/name}","releases_url":"https://api.github.com/repos/yonadev/yona-app-android/releases{/id}","deployments_url":"https://api.github.com/repos/yonadev/yona-app-android/deployments","created_at":"2016-03-21T17:22:10Z","updated_at":"2018-10-22T19:57:09Z","pushed_at":"2018-10-22T19:57:07Z","git_url":"git://github.com/yonadev/yona-app-android.git","ssh_url":"git@github.com:yonadev/yona-app-android.git","clone_url":"https://github.com/yonadev/yona-app-android.git","svn_url":"https://github.com/yonadev/yona-app-android","homepage":null,"size":230482,"stargazers_count":6,"watchers_count":6,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":2,"open_issues":1,"watchers":6,"default_branch":"develop"}},"base":{"label":"yonadev:develop","ref":"develop","sha":"893b49325afb83258c9cddb5539fabe9cd23c493","user":{"login":"yonadev","id":14901571,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTAxNTcx","avatar_url":"https://avatars2.githubusercontent.com/u/14901571?v=4","gravatar_id":"","url":"https://api.github.com/users/yonadev","html_url":"https://github.com/yonadev","followers_url":"https://api.github.com/users/yonadev/followers","following_url":"https://api.github.com/users/yonadev/following{/other_user}","gists_url":"https://api.github.com/users/yonadev/gists{/gist_id}","starred_url":"https://api.github.com/users/yonadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonadev/subscriptions","organizations_url":"https://api.github.com/users/yonadev/orgs","repos_url":"https://api.github.com/users/yonadev/repos","events_url":"https://api.github.com/users/yonadev/events{/privacy}","received_events_url":"https://api.github.com/users/yonadev/received_events","type":"Organization","site_admin":false},"repo":{"id":54408552,"node_id":"MDEwOlJlcG9zaXRvcnk1NDQwODU1Mg==","name":"yona-app-android","full_name":"yonadev/yona-app-android","private":false,"owner":{"login":"yonadev","id":14901571,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTAxNTcx","avatar_url":"https://avatars2.githubusercontent.com/u/14901571?v=4","gravatar_id":"","url":"https://api.github.com/users/yonadev","html_url":"https://github.com/yonadev","followers_url":"https://api.github.com/users/yonadev/followers","following_url":"https://api.github.com/users/yonadev/following{/other_user}","gists_url":"https://api.github.com/users/yonadev/gists{/gist_id}","starred_url":"https://api.github.com/users/yonadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonadev/subscriptions","organizations_url":"https://api.github.com/users/yonadev/orgs","repos_url":"https://api.github.com/users/yonadev/repos","events_url":"https://api.github.com/users/yonadev/events{/privacy}","received_events_url":"https://api.github.com/users/yonadev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/yonadev/yona-app-android","description":"Yona app on Android","fork":false,"url":"https://api.github.com/repos/yonadev/yona-app-android","forks_url":"https://api.github.com/repos/yonadev/yona-app-android/forks","keys_url":"https://api.github.com/repos/yonadev/yona-app-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yonadev/yona-app-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yonadev/yona-app-android/teams","hooks_url":"https://api.github.com/repos/yonadev/yona-app-android/hooks","issue_events_url":"https://api.github.com/repos/yonadev/yona-app-android/issues/events{/number}","events_url":"https://api.github.com/repos/yonadev/yona-app-android/events","assignees_url":"https://api.github.com/repos/yonadev/yona-app-android/assignees{/user}","branches_url":"https://api.github.com/repos/yonadev/yona-app-android/branches{/branch}","tags_url":"https://api.github.com/repos/yonadev/yona-app-android/tags","blobs_url":"https://api.github.com/repos/yonadev/yona-app-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yonadev/yona-app-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yonadev/yona-app-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/yonadev/yona-app-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yonadev/yona-app-android/statuses/{sha}","languages_url":"https://api.github.com/repos/yonadev/yona-app-android/languages","stargazers_url":"https://api.github.com/repos/yonadev/yona-app-android/stargazers","contributors_url":"https://api.github.com/repos/yonadev/yona-app-android/contributors","subscribers_url":"https://api.github.com/repos/yonadev/yona-app-android/subscribers","subscription_url":"https://api.github.com/repos/yonadev/yona-app-android/subscription","commits_url":"https://api.github.com/repos/yonadev/yona-app-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/yonadev/yona-app-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/yonadev/yona-app-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/yonadev/yona-app-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/yonadev/yona-app-android/contents/{+path}","compare_url":"https://api.github.com/repos/yonadev/yona-app-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yonadev/yona-app-android/merges","archive_url":"https://api.github.com/repos/yonadev/yona-app-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yonadev/yona-app-android/downloads","issues_url":"https://api.github.com/repos/yonadev/yona-app-android/issues{/number}","pulls_url":"https://api.github.com/repos/yonadev/yona-app-android/pulls{/number}","milestones_url":"https://api.github.com/repos/yonadev/yona-app-android/milestones{/number}","notifications_url":"https://api.github.com/repos/yonadev/yona-app-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yonadev/yona-app-android/labels{/name}","releases_url":"https://api.github.com/repos/yonadev/yona-app-android/releases{/id}","deployments_url":"https://api.github.com/repos/yonadev/yona-app-android/deployments","created_at":"2016-03-21T17:22:10Z","updated_at":"2018-10-22T19:57:09Z","pushed_at":"2018-10-22T19:57:07Z","git_url":"git://github.com/yonadev/yona-app-android.git","ssh_url":"git@github.com:yonadev/yona-app-android.git","clone_url":"https://github.com/yonadev/yona-app-android.git","svn_url":"https://github.com/yonadev/yona-app-android","homepage":null,"size":230482,"stargazers_count":6,"watchers_count":6,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":2,"open_issues":1,"watchers":6,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/yonadev/yona-app-android/pulls/524"},"html":{"href":"https://github.com/yonadev/yona-app-android/pull/524"},"issue":{"href":"https://api.github.com/repos/yonadev/yona-app-android/issues/524"},"comments":{"href":"https://api.github.com/repos/yonadev/yona-app-android/issues/524/comments"},"review_comments":{"href":"https://api.github.com/repos/yonadev/yona-app-android/pulls/524/comments"},"review_comment":{"href":"https://api.github.com/repos/yonadev/yona-app-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yonadev/yona-app-android/pulls/524/commits"},"statuses":{"href":"https://api.github.com/repos/yonadev/yona-app-android/statuses/60437ac726d7233b5020db31ad7849cea5f1a5ac"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Sivateja-CMI"}}