Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Animal-Crossing-Wiki/Configurations/TargetVersion.xcconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// ๋ฐฐํฌ ๋ฒ„์ „ ์ œ์–ด์šฉ. ์›Œํฌํ”Œ๋กœ์šฐ์—์„œ TARGET_VERSION ๊ฐ’์„ ๋ฎ์–ด์”๋‹ˆ๋‹ค.
TARGET_VERSION = 3.0.0
TARGET_VERSION = 3.0.1
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ extension Item {

extension Item: Equatable {
static func == (lhs: Self, rhs: Self) -> Bool {
return lhs.name == rhs.name && lhs.genuine == rhs.genuine
return lhs.name == rhs.name && (lhs.genuine ?? false) == (rhs.genuine ?? false)
}
}

extension Item: Hashable {
func hash(into hasher: inout Hasher) {
hasher.combine(name)
hasher.combine(genuine)
hasher.combine(genuine ?? false)
}
}
Loading