File tree 2 files changed +0
-12
lines changed
packages/core/ui/core/view 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1112,12 +1112,6 @@ export class View extends ViewCommon {
1112
1112
this . _redrawNativeBackground ( value ) ;
1113
1113
}
1114
1114
1115
- [ directionProperty . getDefault ] ( ) : CoreTypes . LayoutDirection {
1116
- const nativeView = this . nativeViewProtected ;
1117
- const direction = nativeView . getLayoutDirection ( ) ;
1118
-
1119
- return direction === android . view . View . LAYOUT_DIRECTION_RTL ? 'rtl' : 'ltr' ;
1120
- }
1121
1115
[ directionProperty . setNative ] ( value : CoreTypes . LayoutDirection ) {
1122
1116
const nativeView = this . nativeViewProtected ;
1123
1117
Original file line number Diff line number Diff line change @@ -888,12 +888,6 @@ export class View extends ViewCommon implements ViewDefinition {
888
888
}
889
889
}
890
890
891
- [ directionProperty . getDefault ] ( ) : CoreTypes . LayoutDirection {
892
- const nativeView = this . nativeViewProtected ;
893
- const effectiveDirection = nativeView . effectiveUserInterfaceLayoutDirection ;
894
-
895
- return effectiveDirection === UIUserInterfaceLayoutDirection . RightToLeft ? 'rtl' : 'ltr' ;
896
- }
897
891
[ directionProperty . setNative ] ( value : CoreTypes . LayoutDirection ) {
898
892
const nativeView = this . nativeViewProtected ;
899
893
You can’t perform that action at this time.
0 commit comments