Remove ^ operator for Bool

This commit is contained in:
sashaweiss-signal 2026-05-19 10:26:50 -07:00
parent 3915313e5e
commit 5817347d32
2 changed files with 1 additions and 9 deletions

View File

@ -800,7 +800,7 @@ public class CVComponentMessage: CVComponentBase, CVRootComponent {
reactionsFrame.y = contentFrame.maxY - reactionsVOverlap
let leftAlignX = contentFrame.minX + reactionsHInset
let rightAlignX = contentFrame.maxX - (reactionsSize.width + reactionsHInset)
if isIncoming ^ CurrentAppContext().isRTL {
if isIncoming != CurrentAppContext().isRTL {
reactionsFrame.x = max(leftAlignX, rightAlignX)
} else {
reactionsFrame.x = min(leftAlignX, rightAlignX)

View File

@ -136,11 +136,3 @@ public extension UInt64 {
NSNumber(value: self)
}
}
// MARK: -
public extension Bool {
static func ^(left: Bool, right: Bool) -> Bool {
return left != right
}
}