Skip to content

Commit 7e2271f

Browse files
authored
Merge pull request #19 from Masataka-n/main
[DebugForms] Fixed build error with Xcode14.3.0
2 parents b3689f3 + 3dc724f commit 7e2271f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Sources/SherlockDebugForms/UserDefaultsListView.swift

+2-3
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,9 @@ public struct UserDefaultsListSectionsView: View, SherlockView
222222
}
223223
}
224224
else if editConfiguration.dateKeys.contains(key) {
225-
if let date_ = value as? Date,
226-
let date = SherlockDate(date_)
225+
if let date_ = value as? Date
227226
{
228-
dateValueCell(key: key, date: date)
227+
dateValueCell(key: key, date: SherlockDate(date_))
229228
}
230229
else if let string = value as? String,
231230
let date = SherlockDate(rawValue: string)

0 commit comments

Comments
 (0)