initial commit
This commit is contained in:
parent
55528ce8e8
commit
e49311c1aa
|
@ -71,4 +71,5 @@ public class ClockLooks : ObservableObject {
|
|||
|
||||
@Published public var impactFeedbackOn: Bool = false
|
||||
|
||||
public init() {}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
import SwiftUI
|
||||
|
||||
|
||||
|
||||
enum HandType {
|
||||
case hour
|
||||
case minute
|
||||
|
@ -28,7 +29,7 @@ public struct ClockPickerView : View {
|
|||
let periodTypes = ["AM", "PM"]
|
||||
let formatter = DateFormatter()
|
||||
|
||||
init(date: Binding<Date>, options: ClockLooks = ClockLooks()) {
|
||||
public init(date: Binding<Date>, options: ClockLooks = ClockLooks()) {
|
||||
self._clockDate = date
|
||||
self.options = options
|
||||
// to control the AM:PM picker colors
|
||||
|
|
Loading…
Reference in New Issue