Skip to content

Commit

Permalink
Merge pull request #79 from rockerhx/master
Browse files Browse the repository at this point in the history
Update code style: to Swift3.1
  • Loading branch information
wtmoose authored Mar 30, 2017
2 parents ab1504a + 5ed758d commit fa96b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SwiftMessages/MessageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ open class MessageView: BaseView, Identifiable, AccessibleMessage {

open var id: String {
get {
return customId ?? "MessageView:title=\(titleLabel?.text), body=\(bodyLabel?.text)"
return customId ?? "MessageView:title=\(String(describing: titleLabel?.text)), body=\(String(describing: bodyLabel?.text))"
}
set {
customId = newValue
Expand Down

0 comments on commit fa96b58

Please sign in to comment.