{"action":"created","issue":{"url":"https://api.github.com/repos/CosmicMind/Material/issues/436","repository_url":"https://api.github.com/repos/CosmicMind/Material","labels_url":"https://api.github.com/repos/CosmicMind/Material/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/CosmicMind/Material/issues/436/comments","events_url":"https://api.github.com/repos/CosmicMind/Material/issues/436/events","html_url":"https://github.com/CosmicMind/Material/issues/436","id":159657337,"number":436,"title":"Toolbar right items are not shown","user":{"login":"leobouilloux","id":1726316,"avatar_url":"https://avatars.githubusercontent.com/u/1726316?v=3","gravatar_id":"","url":"https://api.github.com/users/leobouilloux","html_url":"https://github.com/leobouilloux","followers_url":"https://api.github.com/users/leobouilloux/followers","following_url":"https://api.github.com/users/leobouilloux/following{/other_user}","gists_url":"https://api.github.com/users/leobouilloux/gists{/gist_id}","starred_url":"https://api.github.com/users/leobouilloux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leobouilloux/subscriptions","organizations_url":"https://api.github.com/users/leobouilloux/orgs","repos_url":"https://api.github.com/users/leobouilloux/repos","events_url":"https://api.github.com/users/leobouilloux/events{/privacy}","received_events_url":"https://api.github.com/users/leobouilloux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CosmicMind/Material/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":{"login":"danieldahan","id":9982123,"avatar_url":"https://avatars.githubusercontent.com/u/9982123?v=3","gravatar_id":"","url":"https://api.github.com/users/danieldahan","html_url":"https://github.com/danieldahan","followers_url":"https://api.github.com/users/danieldahan/followers","following_url":"https://api.github.com/users/danieldahan/following{/other_user}","gists_url":"https://api.github.com/users/danieldahan/gists{/gist_id}","starred_url":"https://api.github.com/users/danieldahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieldahan/subscriptions","organizations_url":"https://api.github.com/users/danieldahan/orgs","repos_url":"https://api.github.com/users/danieldahan/repos","events_url":"https://api.github.com/users/danieldahan/events{/privacy}","received_events_url":"https://api.github.com/users/danieldahan/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-06-10T15:11:59Z","updated_at":"2016-06-10T15:21:33Z","closed_at":null,"body":"Hi!\r\n\r\nI have a problem using your toolbar component.\r\nIt occurred since I've update your framework to version 1.41.8 (the last update atm).\r\nFor the moment, I went back to 1.41.6 and my right control is displayed correctly.\r\n\r\nMaybe I'm not using it correctly.\r\nJust in case, here is my code:\r\n```swift\r\n    private func prepareToolbar() {\r\n        toolbar = Toolbar()\r\n        shareView.addSubview(toolbar)\r\n        \r\n        // Title label.\r\n        toolbar.titleLabel.text = \"Share \\(node.loadName()!)\"\r\n        toolbar.titleLabel.textColor = MaterialColor.white\r\n        \r\n        var image: UIImage? = MaterialIcon.cm.share\r\n        \r\n        // Menu button.\r\n        let mailButton: IconButton = IconButton()\r\n        mailButton.pulseColor = MaterialColor.white\r\n        mailButton.tintColor = MaterialColor.white\r\n        mailButton.setImage(image, forState: .Normal)\r\n        mailButton.setImage(image, forState: .Highlighted)\r\n        \r\n        // Search button.\r\n        image = MaterialIcon.cm.close\r\n        let closeButton: IconButton = IconButton()\r\n        closeButton.pulseColor = MaterialColor.white\r\n        closeButton.tintColor = MaterialColor.white\r\n        closeButton.setImage(image, forState: .Normal)\r\n        closeButton.setImage(image, forState: .Highlighted)\r\n        closeButton.addTarget(self, action: #selector(ShareViewControllerMaterial.closeButtonPressed), forControlEvents: .TouchUpInside)\r\n        \r\n        toolbar.backgroundColor = MaterialColor.blue.base\r\n        toolbar.leftControls = [mailButton]\r\n        toolbar.rightControls = [closeButton]\r\n    }\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/CosmicMind/Material/issues/comments/225212467","html_url":"https://github.com/CosmicMind/Material/issues/436#issuecomment-225212467","issue_url":"https://api.github.com/repos/CosmicMind/Material/issues/436","id":225212467,"user":{"login":"chashmeetsingh","id":8962264,"avatar_url":"https://avatars.githubusercontent.com/u/8962264?v=3","gravatar_id":"","url":"https://api.github.com/users/chashmeetsingh","html_url":"https://github.com/chashmeetsingh","followers_url":"https://api.github.com/users/chashmeetsingh/followers","following_url":"https://api.github.com/users/chashmeetsingh/following{/other_user}","gists_url":"https://api.github.com/users/chashmeetsingh/gists{/gist_id}","starred_url":"https://api.github.com/users/chashmeetsingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chashmeetsingh/subscriptions","organizations_url":"https://api.github.com/users/chashmeetsingh/orgs","repos_url":"https://api.github.com/users/chashmeetsingh/repos","events_url":"https://api.github.com/users/chashmeetsingh/events{/privacy}","received_events_url":"https://api.github.com/users/chashmeetsingh/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T15:21:33Z","updated_at":"2016-06-10T15:21:33Z","body":"the problem is I suppose you should add subview at the end ?"}}
{"actor":{"display_login":"chashmeetsingh"}}