delete bridgeful code
This commit is contained in:
@@ -144,8 +144,7 @@ class SheetView: ExpoView, UISheetPresentationControllerDelegate {
|
|||||||
|
|
||||||
if #available(iOS 26.0, *),
|
if #available(iOS 26.0, *),
|
||||||
let tag = self.sourceViewTag,
|
let tag = self.sourceViewTag,
|
||||||
let bridge = self.appContext?.reactBridge,
|
let sourceView = self.appContext?.findView(withTag: tag, ofType: UIView.self) {
|
||||||
let sourceView = bridge.uiManager.view(forReactTag: NSNumber(value: tag)) {
|
|
||||||
sheetVc.preferredTransition = .zoom { _ in
|
sheetVc.preferredTransition = .zoom { _ in
|
||||||
return sourceView
|
return sourceView
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
#import <React/RCTViewManager.h>
|
|
||||||
#import <React/RCTUIManager.h>
|
|
||||||
#import "RCTBridge.h"
|
|
||||||
|
|
||||||
@interface ScrollForwarderViewManager : RCTViewManager
|
|
||||||
@end
|
|
||||||
|
|
||||||
@implementation ScrollForwarderViewManager
|
|
||||||
|
|
||||||
RCT_EXPORT_MODULE(ScrollForwarderView)
|
|
||||||
|
|
||||||
- (UIView *)view
|
|
||||||
{
|
|
||||||
return [[UIView alloc] init];
|
|
||||||
}
|
|
||||||
|
|
||||||
RCT_EXPORT_VIEW_PROPERTY(scrollViewTag, NSNumber)
|
|
||||||
|
|
||||||
@end
|
|
||||||
Reference in New Issue
Block a user