Remove ^ operator for Bool
This commit is contained in:
parent
3915313e5e
commit
5817347d32
@ -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)
|
||||
|
||||
@ -136,11 +136,3 @@ public extension UInt64 {
|
||||
NSNumber(value: self)
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: -
|
||||
|
||||
public extension Bool {
|
||||
static func ^(left: Bool, right: Bool) -> Bool {
|
||||
return left != right
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user