Skip to content

Commit

Permalink
make swift style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiet480 committed Apr 11, 2017
1 parent 257a138 commit c8344bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HomeAssistant/Views/RootTabBarViewController.swift
Expand Up @@ -211,7 +211,7 @@ class RootTabBarViewController: UITabBarController, UITabBarControllerDelegate {
let old = event.OldState! as Entity
var subtitleString = "\(new.FriendlyName!) is now \(new.State). It was \(old.State)"
if let uom = new.UnitOfMeasurement {
subtitleString = "\(new.State) \(uom). It was \(old.State) \(old.UnitOfMeasurement)"
subtitleString = "\(new.State) \(uom). It was \(old.State) \(String(describing: old.UnitOfMeasurement))"
}
let _ = Murmur(title: subtitleString)
}
Expand Down

0 comments on commit c8344bf

Please sign in to comment.