Run swift-format

This commit is contained in:
stephencelis
2025-03-27 00:24:44 +00:00
committed by github-actions[bot]
parent d4d1df8102
commit 292546d3b9
6 changed files with 47 additions and 43 deletions

View File

@@ -61,7 +61,7 @@ public struct NavigationStackStore<State, Action, Root: View, Destination: View>
let id = store.id(
state:
\.[
id :component.id,
id: component.id,
fileID: _HashableStaticString(rawValue: fileID),
filePath: _HashableStaticString(rawValue: filePath),
line: line,
@@ -76,13 +76,14 @@ public struct NavigationStackStore<State, Action, Root: View, Destination: View>
IfLetCore(
base: core,
cachedState: component.element,
stateKeyPath: \.[
id: component.id,
fileID: _HashableStaticString(rawValue: fileID),
filePath: _HashableStaticString(rawValue: filePath),
line: line,
column: column
],
stateKeyPath:
\.[
id: component.id,
fileID: _HashableStaticString(rawValue: fileID),
filePath: _HashableStaticString(rawValue: filePath),
line: line,
column: column
],
actionKeyPath: \.[id: component.id]
)
}
@@ -145,13 +146,14 @@ public struct NavigationStackStore<State, Action, Root: View, Destination: View>
IfLetCore(
base: core,
cachedState: component.element,
stateKeyPath: \.[
id: component.id,
fileID: _HashableStaticString(rawValue: fileID),
filePath: _HashableStaticString(rawValue: filePath),
line: line,
column: column
],
stateKeyPath:
\.[
id: component.id,
fileID: _HashableStaticString(rawValue: fileID),
filePath: _HashableStaticString(rawValue: filePath),
line: line,
column: column
],
actionKeyPath: \.[id: component.id]
)
}