Skip to content

Commit 645bb2c

Browse files
committed
Форматирование кода
1 parent ceab1ce commit 645bb2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

SwiftUI-Days/Models/Item.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ final class Item {
4141
get {
4242
guard let colorTagData,
4343
let uiColor = try? NSKeyedUnarchiver.unarchivedObject(
44-
ofClass: UIColor.self,
45-
from: colorTagData
44+
ofClass: UIColor.self,
45+
from: colorTagData
4646
)
4747
else { return nil }
4848
return Color(uiColor: uiColor)

SwiftUI-Days/Preview Content/Item+.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extension Item {
2828

2929
static func makeList(count: Int = 10) -> [Item] {
3030
let colors: [Color?] = [.blue, .green, .orange, .red, .purple, .yellow, .pink, .indigo, .teal, .mint, nil, nil, nil]
31-
31+
3232
return (0 ..< count).map { index in
3333
.init(
3434
title: "Item # \(index)",

0 commit comments

Comments
 (0)