Various fixes

This commit is contained in:
Ilya Laktyushin
2024-07-13 18:46:42 +04:00
parent 57c071fa4e
commit 6054069e60
13 changed files with 58 additions and 40 deletions

View File

@@ -288,7 +288,7 @@ public final class StarsImageComponent: Component {
return false
}
case let .gift(lhsCount):
if case let .gift = rhs(rhsCount) {
if case let .gift(rhsCount) = rhs, lhsCount == rhsCount {
return true
} else {
return false