Skip to content

Commit f95f4c1

Browse files
committed
fix/#70 :: 1글자 Lint 수정
x -> originX y -> originY
1 parent 1786f33 commit f95f4c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PhotoGether/DomainLayer/PhotoGetherDomain/PhotoGetherDomainInterface/Entity/StickerEntity.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public struct StickerEntity: Equatable, Codable {
3737
self.latestUpdated = try container.decode(Date.self, forKey: .latestUpdated)
3838

3939
let frameDict = try container.decode([String: CGFloat].self, forKey: .frame)
40-
guard let x = frameDict["x"],
41-
let y = frameDict["y"],
40+
guard let originX = frameDict["x"],
41+
let originY = frameDict["y"],
4242
let width = frameDict["width"],
4343
let height = frameDict["height"] else {
4444
throw DecodingError.dataCorruptedError(
@@ -47,7 +47,7 @@ public struct StickerEntity: Equatable, Codable {
4747
debugDescription: "Frame dictionary does not contain valid keys."
4848
)
4949
}
50-
self.frame = CGRect(x: x, y: y, width: width, height: height)
50+
self.frame = CGRect(x: originX, y: originY, width: width, height: height)
5151
}
5252

5353
public func encode(to encoder: Encoder) throws {

0 commit comments

Comments
 (0)