[WIP ]Emoji statuses

This commit is contained in:
Ali 2022-08-09 22:58:03 +04:00
parent 99c8a72cbd
commit feb899920c
49 changed files with 776 additions and 437 deletions

View file

@ -23,4 +23,4 @@ void applySmoothRoundedCornersImpl(CALayer * _Nonnull layer);
@end
UIView<UIKitPortalViewProtocol> * _Nullable makePortalView();
UIView<UIKitPortalViewProtocol> * _Nullable makePortalView(bool matchPosition);

View file

@ -169,7 +169,7 @@ void applySmoothRoundedCornersImpl(CALayer * _Nonnull layer) {
}
}
UIView<UIKitPortalViewProtocol> * _Nullable makePortalView() {
UIView<UIKitPortalViewProtocol> * _Nullable makePortalView(bool matchPosition) {
if (@available(iOS 12.0, *)) {
static Class portalViewClass = nil;
static dispatch_once_t onceToken;
@ -187,8 +187,8 @@ UIView<UIKitPortalViewProtocol> * _Nullable makePortalView() {
if (@available(iOS 13.0, *)) {
view.forwardsClientHitTestingToSourceView = false;
}
view.matchesPosition = true;
view.matchesTransform = true;
view.matchesPosition = matchPosition;
view.matchesTransform = matchPosition;
view.matchesAlpha = false;
if (@available(iOS 13.0, *)) {
view.allowsHitTesting = false;