payload: {"action":"created","comment":{"url":"https://api.github.com/repos/raedahgroup/dcrios/pulls/comments/356871675","pull_request_review_id":330885278,"id":356871675,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1Njg3MTY3NQ==","diff_hunk":"@@ -10,24 +10,119 @@ import UIKit\n \n @IBDesignable\n class Button: UIButton {\n+    private let loaderIcon: UIImageView = UIImageView()\n+    private let loaderLabel: UILabel = UILabel()\n+    private var loaderView: UIView?\n+    private var originalButtonText: String?\n+    private var originalButtonBackground: UIColor?\n+    \n+    @IBInspectable var loaderTextStringKey: String = \"\" {\n+        didSet {\n+            loaderLabel.text = NSLocalizedString(loaderTextStringKey, comment: \"\")\n+        }\n+    }\n+\n     @IBInspectable var borderColor: UIColor = UIColor.clear {\n         didSet {\n-            self.layer.borderColor = self.borderColor.cgColor\n-            self.setNeedsLayout()\n+            setupView()\n         }\n     }\n     \n     @IBInspectable var borderWidth: CGFloat = 0 {\n         didSet {\n-            self.layer.borderWidth = self.borderWidth\n-            self.setNeedsLayout()\n+            setupView()\n         }\n     }\n     \n     @IBInspectable var cornerRadius: CGFloat = 0 {\n         didSet {\n-            self.layer.cornerRadius = self.cornerRadius\n-            self.setNeedsLayout()\n+           setupView()\n+        }\n+    }\n+    \n+    @IBInspectable var enabledBackgroundColor : UIColor? {\n+        didSet {\n+            setupView()\n+        }\n+    }\n+\n+    @IBInspectable var disabledBackgroundColor : UIColor?{","path":"Decred Wallet/Custom Views/Button.swift","position":46,"original_position":46,"commit_id":"49c26841396e4753e5b148f270eeb381fafdc9a6","original_commit_id":"49c26841396e4753e5b148f270eeb381fafdc9a6","user":{"login":"itswisdomagain","id":18400051,"node_id":"MDQ6VXNlcjE4NDAwMDUx","avatar_url":"https://avatars3.githubusercontent.com/u/18400051?v=4","gravatar_id":"","url":"https://api.github.com/users/itswisdomagain","html_url":"https://github.com/itswisdomagain","followers_url":"https://api.github.com/users/itswisdomagain/followers","following_url":"https://api.github.com/users/itswisdomagain/following{/other_user}","gists_url":"https://api.github.com/users/itswisdomagain/gists{/gist_id}","starred_url":"https://api.github.com/users/itswisdomagain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itswisdomagain/subscriptions","organizations_url":"https://api.github.com/users/itswisdomagain/orgs","repos_url":"https://api.github.com/users/itswisdomagain/repos","events_url":"https://api.github.com/users/itswisdomagain/events{/privacy}","received_events_url":"https://api.github.com/users/itswisdomagain/received_events","type":"User","site_admin":false},"body":"```suggestion\r\n    @IBInspectable var disabledBackgroundColor : UIColor? {\r\n```","created_at":"2019-12-11T22:33:52Z","updated_at":"2019-12-11T22:45:13Z","html_url":"https://github.com/raedahgroup/dcrios/pull/530#discussion_r356871675","pull_request_url":"https://api.github.com/repos/raedahgroup/dcrios/pulls/530","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/raedahgroup/dcrios/pulls/comments/356871675"},"html":{"href":"https://github.com/raedahgroup/dcrios/pull/530#discussion_r356871675"},"pull_request":{"href":"https://api.github.com/repos/raedahgroup/dcrios/pulls/530"}}},"pull_request":{"url":"https://api.github.com/repos/raedahgroup/dcrios/pulls/530","id":331686163,"node_id":"MDExOlB1bGxSZXF1ZXN0MzMxNjg2MTYz","html_url":"https://github.com/raedahgroup/dcrios/pull/530","diff_url":"https://github.com/raedahgroup/dcrios/pull/530.diff","patch_url":"https://github.com/raedahgroup/dcrios/pull/530.patch","issue_url":"https://api.github.com/repos/raedahgroup/dcrios/issues/530","number":530,"state":"open","locked":false,"title":"Verify seed UI: 2.0","user":{"login":"bgptr","id":52497040,"node_id":"MDQ6VXNlcjUyNDk3MDQw","avatar_url":"https://avatars3.githubusercontent.com/u/52497040?v=4","gravatar_id":"","url":"https://api.github.com/users/bgptr","html_url":"https://github.com/bgptr","followers_url":"https://api.github.com/users/bgptr/followers","following_url":"https://api.github.com/users/bgptr/following{/other_user}","gists_url":"https://api.github.com/users/bgptr/gists{/gist_id}","starred_url":"https://api.github.com/users/bgptr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgptr/subscriptions","organizations_url":"https://api.github.com/users/bgptr/orgs","repos_url":"https://api.github.com/users/bgptr/repos","events_url":"https://api.github.com/users/bgptr/events{/privacy}","received_events_url":"https://api.github.com/users/bgptr/received_events","type":"User","site_admin":false},"body":"Closes #507\r\ncloses #461 \r\n\r\nBackup views are temporary linked from Overview:\r\n<img width=\"450\" alt=\"Screenshot 2019-11-12 at 21 09 05\" src=\"https://user-images.githubusercontent.com/52497040/68706821-d5494600-0590-11ea-8759-7688d3c2f511.png\">\r\n\r\n<img width=\"450\" alt=\"Screenshot 2019-11-12 at 20 31 04\" src=\"https://user-images.githubusercontent.com/52497040/68703894-bdbb8e80-058b-11ea-884d-8db500741b43.png\">\r\n<img width=\"450\" alt=\"Screenshot 2019-11-12 at 20 25 54\" src=\"https://user-images.githubusercontent.com/52497040/68703920-c318d900-058b-11ea-9b68-84769e56c631.png\">\r\n<img width=\"450\" alt=\"Screenshot 2019-11-12 at 20 26 05\" src=\"https://user-images.githubusercontent.com/52497040/68703935-c7dd8d00-058b-11ea-92d3-a0328d8b0e3e.png\">\r\n<img width=\"450\" alt=\"Screenshot 2019-11-12 at 20 26 24\" src=\"https://user-images.githubusercontent.com/52497040/68703944-cca24100-058b-11ea-8d79-54a0560c5bc6.png\">\r\n<img width=\"450\" alt=\"Screenshot 2019-11-12 at 20 32 47\" src=\"https://user-images.githubusercontent.com/52497040/68703978-d9269980-058b-11ea-9801-82b082094daf.png\">\r\n<img width=\"450\" alt=\"Screenshot 2019-11-12 at 20 28 03\" src=\"https://user-images.githubusercontent.com/52497040/68703960-d1ff8b80-058b-11ea-9d66-97e700760da3.png\">\r\n<img width=\"450\" alt=\"Screenshot 2019-11-12 at 20 28 24\" src=\"https://user-images.githubusercontent.com/52497040/68703997-e2176b00-058b-11ea-9d38-ca1c0667eab2.png\">\r\n","created_at":"2019-10-23T18:34:11Z","updated_at":"2019-12-11T22:45:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f101b5f444be3fdf5801c9622cd4458c9d0372d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/raedahgroup/dcrios/pulls/530/commits","review_comments_url":"https://api.github.com/repos/raedahgroup/dcrios/pulls/530/comments","review_comment_url":"https://api.github.com/repos/raedahgroup/dcrios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/raedahgroup/dcrios/issues/530/comments","statuses_url":"https://api.github.com/repos/raedahgroup/dcrios/statuses/49c26841396e4753e5b148f270eeb381fafdc9a6","head":{"label":"bgptr:backup","ref":"backup","sha":"49c26841396e4753e5b148f270eeb381fafdc9a6","user":{"login":"bgptr","id":52497040,"node_id":"MDQ6VXNlcjUyNDk3MDQw","avatar_url":"https://avatars3.githubusercontent.com/u/52497040?v=4","gravatar_id":"","url":"https://api.github.com/users/bgptr","html_url":"https://github.com/bgptr","followers_url":"https://api.github.com/users/bgptr/followers","following_url":"https://api.github.com/users/bgptr/following{/other_user}","gists_url":"https://api.github.com/users/bgptr/gists{/gist_id}","starred_url":"https://api.github.com/users/bgptr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgptr/subscriptions","organizations_url":"https://api.github.com/users/bgptr/orgs","repos_url":"https://api.github.com/users/bgptr/repos","events_url":"https://api.github.com/users/bgptr/events{/privacy}","received_events_url":"https://api.github.com/users/bgptr/received_events","type":"User","site_admin":false},"repo":{"id":213598717,"node_id":"MDEwOlJlcG9zaXRvcnkyMTM1OTg3MTc=","name":"dcrios","full_name":"bgptr/dcrios","private":false,"owner":{"login":"bgptr","id":52497040,"node_id":"MDQ6VXNlcjUyNDk3MDQw","avatar_url":"https://avatars3.githubusercontent.com/u/52497040?v=4","gravatar_id":"","url":"https://api.github.com/users/bgptr","html_url":"https://github.com/bgptr","followers_url":"https://api.github.com/users/bgptr/followers","following_url":"https://api.github.com/users/bgptr/following{/other_user}","gists_url":"https://api.github.com/users/bgptr/gists{/gist_id}","starred_url":"https://api.github.com/users/bgptr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgptr/subscriptions","organizations_url":"https://api.github.com/users/bgptr/orgs","repos_url":"https://api.github.com/users/bgptr/repos","events_url":"https://api.github.com/users/bgptr/events{/privacy}","received_events_url":"https://api.github.com/users/bgptr/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bgptr/dcrios","description":"Decred Mobile Wallet for IOS","fork":true,"url":"https://api.github.com/repos/bgptr/dcrios","forks_url":"https://api.github.com/repos/bgptr/dcrios/forks","keys_url":"https://api.github.com/repos/bgptr/dcrios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bgptr/dcrios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bgptr/dcrios/teams","hooks_url":"https://api.github.com/repos/bgptr/dcrios/hooks","issue_events_url":"https://api.github.com/repos/bgptr/dcrios/issues/events{/number}","events_url":"https://api.github.com/repos/bgptr/dcrios/events","assignees_url":"https://api.github.com/repos/bgptr/dcrios/assignees{/user}","branches_url":"https://api.github.com/repos/bgptr/dcrios/branches{/branch}","tags_url":"https://api.github.com/repos/bgptr/dcrios/tags","blobs_url":"https://api.github.com/repos/bgptr/dcrios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bgptr/dcrios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bgptr/dcrios/git/refs{/sha}","trees_url":"https://api.github.com/repos/bgptr/dcrios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bgptr/dcrios/statuses/{sha}","languages_url":"https://api.github.com/repos/bgptr/dcrios/languages","stargazers_url":"https://api.github.com/repos/bgptr/dcrios/stargazers","contributors_url":"https://api.github.com/repos/bgptr/dcrios/contributors","subscribers_url":"https://api.github.com/repos/bgptr/dcrios/subscribers","subscription_url":"https://api.github.com/repos/bgptr/dcrios/subscription","commits_url":"https://api.github.com/repos/bgptr/dcrios/commits{/sha}","git_commits_url":"https://api.github.com/repos/bgptr/dcrios/git/commits{/sha}","comments_url":"https://api.github.com/repos/bgptr/dcrios/comments{/number}","issue_comment_url":"https://api.github.com/repos/bgptr/dcrios/issues/comments{/number}","contents_url":"https://api.github.com/repos/bgptr/dcrios/contents/{+path}","compare_url":"https://api.github.com/repos/bgptr/dcrios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bgptr/dcrios/merges","archive_url":"https://api.github.com/repos/bgptr/dcrios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bgptr/dcrios/downloads","issues_url":"https://api.github.com/repos/bgptr/dcrios/issues{/number}","pulls_url":"https://api.github.com/repos/bgptr/dcrios/pulls{/number}","milestones_url":"https://api.github.com/repos/bgptr/dcrios/milestones{/number}","notifications_url":"https://api.github.com/repos/bgptr/dcrios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bgptr/dcrios/labels{/name}","releases_url":"https://api.github.com/repos/bgptr/dcrios/releases{/id}","deployments_url":"https://api.github.com/repos/bgptr/dcrios/deployments","created_at":"2019-10-08T09:15:34Z","updated_at":"2019-12-09T14:46:05Z","pushed_at":"2019-12-09T14:46:02Z","git_url":"git://github.com/bgptr/dcrios.git","ssh_url":"git@github.com:bgptr/dcrios.git","clone_url":"https://github.com/bgptr/dcrios.git","svn_url":"https://github.com/bgptr/dcrios","homepage":null,"size":151959,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"raedahgroup:master","ref":"master","sha":"796d3c04daf1738e04ee56f74b017f1670c57256","user":{"login":"raedahgroup","id":36646072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NjQ2MDcy","avatar_url":"https://avatars3.githubusercontent.com/u/36646072?v=4","gravatar_id":"","url":"https://api.github.com/users/raedahgroup","html_url":"https://github.com/raedahgroup","followers_url":"https://api.github.com/users/raedahgroup/followers","following_url":"https://api.github.com/users/raedahgroup/following{/other_user}","gists_url":"https://api.github.com/users/raedahgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/raedahgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raedahgroup/subscriptions","organizations_url":"https://api.github.com/users/raedahgroup/orgs","repos_url":"https://api.github.com/users/raedahgroup/repos","events_url":"https://api.github.com/users/raedahgroup/events{/privacy}","received_events_url":"https://api.github.com/users/raedahgroup/received_events","type":"Organization","site_admin":false},"repo":{"id":123026307,"node_id":"MDEwOlJlcG9zaXRvcnkxMjMwMjYzMDc=","name":"dcrios","full_name":"raedahgroup/dcrios","private":false,"owner":{"login":"raedahgroup","id":36646072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NjQ2MDcy","avatar_url":"https://avatars3.githubusercontent.com/u/36646072?v=4","gravatar_id":"","url":"https://api.github.com/users/raedahgroup","html_url":"https://github.com/raedahgroup","followers_url":"https://api.github.com/users/raedahgroup/followers","following_url":"https://api.github.com/users/raedahgroup/following{/other_user}","gists_url":"https://api.github.com/users/raedahgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/raedahgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raedahgroup/subscriptions","organizations_url":"https://api.github.com/users/raedahgroup/orgs","repos_url":"https://api.github.com/users/raedahgroup/repos","events_url":"https://api.github.com/users/raedahgroup/events{/privacy}","received_events_url":"https://api.github.com/users/raedahgroup/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/raedahgroup/dcrios","description":"Decred Mobile Wallet for IOS","fork":false,"url":"https://api.github.com/repos/raedahgroup/dcrios","forks_url":"https://api.github.com/repos/raedahgroup/dcrios/forks","keys_url":"https://api.github.com/repos/raedahgroup/dcrios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raedahgroup/dcrios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raedahgroup/dcrios/teams","hooks_url":"https://api.github.com/repos/raedahgroup/dcrios/hooks","issue_events_url":"https://api.github.com/repos/raedahgroup/dcrios/issues/events{/number}","events_url":"https://api.github.com/repos/raedahgroup/dcrios/events","assignees_url":"https://api.github.com/repos/raedahgroup/dcrios/assignees{/user}","branches_url":"https://api.github.com/repos/raedahgroup/dcrios/branches{/branch}","tags_url":"https://api.github.com/repos/raedahgroup/dcrios/tags","blobs_url":"https://api.github.com/repos/raedahgroup/dcrios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raedahgroup/dcrios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raedahgroup/dcrios/git/refs{/sha}","trees_url":"https://api.github.com/repos/raedahgroup/dcrios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raedahgroup/dcrios/statuses/{sha}","languages_url":"https://api.github.com/repos/raedahgroup/dcrios/languages","stargazers_url":"https://api.github.com/repos/raedahgroup/dcrios/stargazers","contributors_url":"https://api.github.com/repos/raedahgroup/dcrios/contributors","subscribers_url":"https://api.github.com/repos/raedahgroup/dcrios/subscribers","subscription_url":"https://api.github.com/repos/raedahgroup/dcrios/subscription","commits_url":"https://api.github.com/repos/raedahgroup/dcrios/commits{/sha}","git_commits_url":"https://api.github.com/repos/raedahgroup/dcrios/git/commits{/sha}","comments_url":"https://api.github.com/repos/raedahgroup/dcrios/comments{/number}","issue_comment_url":"https://api.github.com/repos/raedahgroup/dcrios/issues/comments{/number}","contents_url":"https://api.github.com/repos/raedahgroup/dcrios/contents/{+path}","compare_url":"https://api.github.com/repos/raedahgroup/dcrios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raedahgroup/dcrios/merges","archive_url":"https://api.github.com/repos/raedahgroup/dcrios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raedahgroup/dcrios/downloads","issues_url":"https://api.github.com/repos/raedahgroup/dcrios/issues{/number}","pulls_url":"https://api.github.com/repos/raedahgroup/dcrios/pulls{/number}","milestones_url":"https://api.github.com/repos/raedahgroup/dcrios/milestones{/number}","notifications_url":"https://api.github.com/repos/raedahgroup/dcrios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raedahgroup/dcrios/labels{/name}","releases_url":"https://api.github.com/repos/raedahgroup/dcrios/releases{/id}","deployments_url":"https://api.github.com/repos/raedahgroup/dcrios/deployments","created_at":"2018-02-26T20:27:19Z","updated_at":"2019-12-09T13:26:38Z","pushed_at":"2019-12-11T17:34:41Z","git_url":"git://github.com/raedahgroup/dcrios.git","ssh_url":"git@github.com:raedahgroup/dcrios.git","clone_url":"https://github.com/raedahgroup/dcrios.git","svn_url":"https://github.com/raedahgroup/dcrios","homepage":null,"size":151816,"stargazers_count":20,"watchers_count":20,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":36,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":15,"open_issues":36,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/raedahgroup/dcrios/pulls/530"},"html":{"href":"https://github.com/raedahgroup/dcrios/pull/530"},"issue":{"href":"https://api.github.com/repos/raedahgroup/dcrios/issues/530"},"comments":{"href":"https://api.github.com/repos/raedahgroup/dcrios/issues/530/comments"},"review_comments":{"href":"https://api.github.com/repos/raedahgroup/dcrios/pulls/530/comments"},"review_comment":{"href":"https://api.github.com/repos/raedahgroup/dcrios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/raedahgroup/dcrios/pulls/530/commits"},"statuses":{"href":"https://api.github.com/repos/raedahgroup/dcrios/statuses/49c26841396e4753e5b148f270eeb381fafdc9a6"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"itswisdomagain"}}