Skip to content

Commit eeaef20

Browse files
authored
Merge pull request #149 from leeari95/release/3.0.1
Merge `release/3.0.1` into `develop`
2 parents 42c81d7 + d2e12cb commit eeaef20

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// ๋ฐฐํฌ ๋ฒ„์ „ ์ œ์–ด์šฉ. ์›Œํฌํ”Œ๋กœ์šฐ์—์„œ TARGET_VERSION ๊ฐ’์„ ๋ฎ์–ด์”๋‹ˆ๋‹ค.
2-
TARGET_VERSION = 3.0.0
2+
TARGET_VERSION = 3.0.1

โ€ŽAnimal-Crossing-Wiki/Projects/App/Sources/Models/Items/Item.swiftโ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@ extension Item {
114114

115115
extension Item: Equatable {
116116
static func == (lhs: Self, rhs: Self) -> Bool {
117-
return lhs.name == rhs.name && lhs.genuine == rhs.genuine
117+
return lhs.name == rhs.name && (lhs.genuine ?? false) == (rhs.genuine ?? false)
118118
}
119119
}
120120

121121
extension Item: Hashable {
122122
func hash(into hasher: inout Hasher) {
123123
hasher.combine(name)
124-
hasher.combine(genuine)
124+
hasher.combine(genuine ?? false)
125125
}
126126
}

0 commit comments

Comments
ย (0)