Skip to content

Commit 5ee84c0

Browse files
committed
change minimum version to iOS15
1 parent 2ba9e72 commit 5ee84c0

File tree

4 files changed

+5
-25
lines changed

4 files changed

+5
-25
lines changed

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import PackageDescription
66
let package = Package(
77
name: "FXDatePicker",
88
platforms: [
9-
.iOS(.v14) // Specifies that the package requires iOS 13.0 or newer
9+
.iOS(.v15) // Specifies that the package requires iOS 13.0 or newer
1010
],
1111
products: [
1212
// Products define the executables and libraries a package produces, making them visible to other packages.

Sources/FXDatePicker/Extensions/Color+Ext.swift

-20
This file was deleted.

Sources/FXDatePicker/Modifiers/ThemeColorModifier.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ public extension DatePickerTheme {
5151
public let backgroundColor: Color
5252

5353
public init(accentColor: Color = .blue,
54-
monthTitle: Color = Color(UIcolor: .label),
54+
monthTitle: Color = Color(uiColor: .label),
5555
daysName: Color = .gray,
56-
daysNumbers: Color = Color(UIcolor: .label),
56+
daysNumbers: Color = Color(uiColor: .label),
5757
previousDaysNumber: Color = .gray,
58-
backgroundColor: Color = Color(UIcolor: .systemBackground)) {
58+
backgroundColor: Color = Color(uiColor: .systemBackground)) {
5959

6060
self.accentColor = accentColor
6161
self.monthTitle = monthTitle

Sources/FXDatePicker/Views/FXDatePickerView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public struct FXDatePickerView: View {
3232
}
3333
}
3434

35-
public init(selectedDate: Binding<Date>, specialDates: [SpecialDate]) {
35+
public init(selectedDate: Binding<Date>, specialDates: [SpecialDate]) {
3636
self._selectedDate = selectedDate
3737
self.specialDates = specialDates
3838
}

0 commit comments

Comments
 (0)