macOS client parity review
This commit is contained in:
@@ -316,7 +316,7 @@ private struct SnapWhere: View {
|
||||
HStack(spacing: 0) {
|
||||
Text("snapshot \(n)")
|
||||
if let snap {
|
||||
Text(" · \(snap.trigger.rawValue) · \(snap.createdAt.formatted(Date.FormatStyle().hour(.twoDigits(amPM: .omitted)).minute(.twoDigits).second(.twoDigits)))")
|
||||
Text(" · \(snap.trigger.rawValue) · \(clockText(snap.createdAt))")
|
||||
}
|
||||
Text(" · ")
|
||||
step(n - 1, "← #\(n - 1)", snaps)
|
||||
@@ -348,7 +348,7 @@ private struct ChangesList: View {
|
||||
} else {
|
||||
ScrollView {
|
||||
LazyVStack(alignment: .leading, spacing: 6) {
|
||||
ForEach(c.files.sorted { $0.path.localizedStandardCompare($1.path) == .orderedAscending }, id: \.path) { f in
|
||||
ForEach(c.files.sorted { $0.path.localizedCompare($1.path) == .orderedAscending }, id: \.path) { f in
|
||||
FileRow(model: model, changes: c, file: f)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user