Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Barreto committed Sep 26, 2016
1 parent 96e14e8 commit 1a7ef72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Source/Core/Validation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ import Foundation


public struct ValidationError: Equatable {
public let msg: String?

public init(msg: String? = nil) {
public let msg: String

public init(msg: String) {
self.msg = msg
}
}
Expand Down
2 changes: 1 addition & 1 deletion Source/Rows/Common/DateFieldRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ open class DateCell : Cell<Date>, CellType {
if let minuteIntervalValue = (row as? DatePickerRowProtocol)?.minuteInterval{
datePicker.minuteInterval = minuteIntervalValue
}
if isHighlighted {
if row.isHighlighted {
textLabel?.textColor = tintColor
}
}
Expand Down

0 comments on commit 1a7ef72

Please sign in to comment.