Skip to content

Commit

Permalink
- fixed default date
Browse files Browse the repository at this point in the history
  • Loading branch information
rursache committed Nov 11, 2021
1 parent 0d3f236 commit a280c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Files/RSDatePicker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ import UIKit
self.datePicker.maximumDate = self.maximumDate
self.datePicker.datePickerMode = self.pickerMode ?? .date
self.datePicker.alpha = 0.03
self.datePicker.date = self.currentDate
self.currentDate = self.datePicker.date
self.updateMargins()
}

Expand Down

0 comments on commit a280c6c

Please sign in to comment.