Skip to content

Commit

Permalink
- fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rursache committed Dec 1, 2021
1 parent a9a59a7 commit a770f8c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Files/RSDatePicker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ public class RSDatePicker: UIView {
public var minimumDate: Date? {
didSet {
self.datePicker.minimumDate = self.minimumDate
self.didUpdateDate()
}
}
public var maximumDate: Date? {
didSet {
self.datePicker.maximumDate = self.maximumDate
self.didUpdateDate()
}
}
public var pickerMode: UIDatePicker.Mode?
Expand Down Expand Up @@ -119,8 +121,8 @@ public class RSDatePicker: UIView {
private func viewDidLoad() {
self.prepareDatePicker()

self.clipsToBounds = false
self.view.clipsToBounds = false
// self.clipsToBounds = false
// self.view.clipsToBounds = false

self.timer = Timer(timeInterval: 0.5, repeats: true, block: { [weak self] _ in
self?.hideDateLabel()
Expand Down

0 comments on commit a770f8c

Please sign in to comment.