Skip to content

Commit e2dc99a

Browse files
authored
[NetUI] TouchableWin32 fix (#15593)
* Fix TouchableWin32 and LogBox * Change files * restore images in logbox next/prev
1 parent 2e2f6eb commit e2dc99a

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "Fix TouchableWin32 and LogBox",
4+
"packageName": "@office-iss/react-native-win32",
5+
"email": "30809111+acoates-ms@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}

packages/@office-iss/react-native-win32/src-win/Libraries/Components/Touchable/TouchableWin32.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { IKeyboardEvent } from '../View/ViewPropTypes';
3030
const BoundingDimensions = require('./BoundingDimensions');
3131
const Position = require('./Position');
3232

33-
const {findNodeHandle} = require('../../Renderer/shims/ReactNative');
33+
const {findNodeHandle} = require('../../ReactNative/RendererProxy');
3434

3535
/**
3636
* Extracts a single touch, generally this is the active touch or touch that

packages/@office-iss/react-native-win32/src-win/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default function LogBoxInspectorHeader(props: Props): React.Node {
6161
id="logbox_header_button_prev"
6262
disabled={props.total <= 1}
6363
level={props.level}
64-
image={new String('←')}
64+
image={require('./LogBoxImages/chevron-left.png')}
6565
onPress={() => props.onSelectIndex(prevIndex)}
6666
/>
6767
<View style={styles.title}>
@@ -73,7 +73,7 @@ export default function LogBoxInspectorHeader(props: Props): React.Node {
7373
id="logbox_header_button_next"
7474
disabled={props.total <= 1}
7575
level={props.level}
76-
image={new String('→')}
76+
image={require('./LogBoxImages/chevron-right.png')}
7777
onPress={() => props.onSelectIndex(nextIndex)}
7878
/>
7979
</View>

0 commit comments

Comments
 (0)