  */
 
 import UIKit
-
-fileprivate var ToolbarContext: UInt8 = 0
 
 open class Toolbar: Bar {
   /// A convenience property to set the titleLabel.text.

    prepareTitleLabel()
    prepareDetailLabel()
  }
}

fileprivate extension Toolbar {
  /// Prepares the titleLabel.
  func prepareTitleLabel() {
    titleLabel.textAlignment = .center
    titleLabel.contentScaleFactor = Screen.scale
    titleLabel.font = RobotoFont.medium(with: 17)
    titleLabel.textColor = Color.darkText.primary
    addObserver(self, forKeyPath: #keyPath(titleLabel.textAlignment), options: [], context: &ToolbarContext)
  }
  
  /// Prepares the detailLabel.

   */
  public override init(frame: CGRect) {
    super.init(frame: frame)
  }
  
  open override func layoutSubviews() {
