CXTDT-581803 - Date Picker - Calendar does not switch to Dark Mode
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
88fdcabe67
commit
2b60e8cff3
@ -214,7 +214,7 @@ extension DatePicker {
|
||||
calendar.indicators = calendarModel.indicators
|
||||
calendar.maxDate = calendarModel.maxDate
|
||||
calendar.minDate = calendarModel.minDate
|
||||
calendar.surface = calendarModel.surface
|
||||
calendar.surface = surface
|
||||
calendar.setNeedsLayout()
|
||||
calendar.layoutIfNeeded()
|
||||
|
||||
|
||||
@ -10,8 +10,6 @@ import UIKit
|
||||
|
||||
extension DatePicker {
|
||||
public struct CalendarModel {
|
||||
public let surface: Surface
|
||||
|
||||
/// If set to true, the calendar will not have a border.
|
||||
public let hideContainerBorder: Bool
|
||||
|
||||
@ -35,15 +33,13 @@ extension DatePicker {
|
||||
/// Array of ``CalendarIndicatorModel`` you are wanting to show on legend.
|
||||
public let indicators: [CalendarBase.CalendarIndicatorModel]
|
||||
|
||||
public init(surface: Surface = .light,
|
||||
hideContainerBorder: Bool = false,
|
||||
public init(hideContainerBorder: Bool = false,
|
||||
hideCurrentDateIndicator: Bool = false,
|
||||
activeDates: [Date] = [],
|
||||
inactiveDates: [Date] = [],
|
||||
minDate: Date = Date().startOfMonth,
|
||||
maxDate: Date = Date().endOfMonth,
|
||||
indicators: [CalendarBase.CalendarIndicatorModel] = []) {
|
||||
self.surface = surface
|
||||
self.hideContainerBorder = hideContainerBorder
|
||||
self.hideCurrentDateIndicator = hideCurrentDateIndicator
|
||||
self.activeDates = activeDates
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
1.0.71
|
||||
----------------
|
||||
- CXTDT-581803 - DatePicker - Calendar does not switch to Dark Mode
|
||||
|
||||
1.0.70
|
||||
----------------
|
||||
- CXTDT-577463 - InputField - Accessibility - #1 Typing Feedback
|
||||
|
||||
Loading…
Reference in New Issue
Block a user