File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/react-native-bottom-tabs/ios Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ import SwiftUI
22
33@objc public class BottomAccessoryProvider : PlatformView {
44 private weak var delegate : BottomAccessoryProviderDelegate ?
5-
5+
66 @objc public convenience init ( delegate: BottomAccessoryProviderDelegate ) {
77 self . init ( )
88 self . delegate = delegate
99 }
10-
10+
1111 @available ( iOS 26 . 0 , * )
1212 public func emitPlacementChanged( _ placement: TabViewBottomAccessoryPlacement ? ) {
1313 var placementValue = " none "
Original file line number Diff line number Diff line change @@ -104,9 +104,9 @@ struct BottomAccessoryRepresentableView: PlatformViewRepresentable {
104104 func makeUIView( context: Context ) -> PlatformView {
105105 let wrapper = UIView ( )
106106 wrapper. addSubview ( view)
107-
107+
108108 view. autoresizingMask = [ . flexibleWidth, . flexibleHeight]
109-
109+
110110 emitPlacementChanged ( for: view)
111111 return wrapper
112112 }
You can’t perform that action at this time.
0 commit comments