Skip to content

Commit

Permalink
Spaces -> tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wouter01 committed Jan 18, 2024
1 parent e9214de commit 97e8c35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Defaults/SwiftUI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public struct Default<Value: Defaults.Serializable>: DynamicProperty {
*/
public init(_ key: Defaults.Key<Value>) {
self.key = key
self._observable = .init(wrappedValue: .init(key))
self._observable = .init(wrappedValue: .init(key))
}

public var wrappedValue: Value {
Expand All @@ -131,7 +131,7 @@ public struct Default<Value: Defaults.Serializable>: DynamicProperty {
public var publisher: Publisher { Defaults.publisher(key) }

public mutating func update() {
observable.key = key
observable.key = key
_observable.update()
}

Expand Down

0 comments on commit 97e8c35

Please sign in to comment.