Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions RNTester/js/components/RNTesterExampleList.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ class RowComponent extends React.PureComponent<{
onPress={this._onPress}>
<View
style={[
rowStyle, // TODO(macOS ISS#2323203)
{backgroundColor: theme.SystemBackgroundColor},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So are the right colours brought in by theme.SystemBackgroundColor?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The list has properly being changed when switching dark mode on/off so I guess so? Because it worked as expected to me, I didn't really investigated what's under theme.SystemBackgroundColor really

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough 👍

rowStyle, // TODO(macOS ISS#2323203)
]}>
<Text style={[styles.rowTitleText, {color: theme.LabelColor}]}>
{item.module.title}
Expand Down Expand Up @@ -290,19 +290,6 @@ const styles = StyleSheet.create({
fontSize: 11,
},
row: {
...Platform.select({
// [TODO(macOS ISS#2323203)
macos: {
backgroundColor: PlatformColor('controlBackgroundColor'),
},
ios: {
backgroundColor: PlatformColor('secondarySystemGroupedBackgroundColor'),
},
default: {
// ]TODO(macOS ISS#2323203)
backgroundColor: 'white',
}, // [TODO(macOS ISS#2323203)
}), // ]TODO(macOS ISS#2323203)
justifyContent: 'center',
paddingHorizontal: 15,
paddingVertical: 8,
Expand Down