Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: QA fixes for theming/dark mode #611

Merged
merged 10 commits into from
Oct 29, 2020
Merged

Conversation

rikkekantega
Copy link
Contributor

@rikkekantega rikkekantega commented Oct 28, 2020

@rikkekantega rikkekantega marked this pull request as ready for review October 28, 2020 14:57
@rikkekantega
Copy link
Contributor Author

This one:

Possible fix for colorScheme not updating on Android, by providing a patch to React native with these changes: facebook/react-native#29106 (as mentioned in this issue: facebook/react-native#28823). Doesn't seem to work, though..

Could any of you please look at the patch and see if I perhaps did something wrong? 🤔

Copy link
Contributor

@cbrevik cbrevik left a comment

Choose a reason for hiding this comment

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

Patch looks fine to me!

Comment on lines 325 to 330
<ThemeText>
<ThemeText style={{marginRight: 12, fontWeight: 'bold'}}>
{leg.line?.publicCode}
</Text>{' '}
<Text numberOfLines={1}>{name}</Text>
</Text>
</ThemeText>{' '}
<ThemeText numberOfLines={1}>{name}</ThemeText>
</ThemeText>
Copy link
Contributor

Choose a reason for hiding this comment

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

Should these be nested?

{publicCode && (
<Text style={{fontWeight: 'bold'}}>{publicCode} </Text>
<ThemeText style={{fontWeight: 'bold'}}>
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be normal Text-element to inherit? Unsure?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems like I missed one here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems I missed some of the nested texts after all. I'll go over them.

@rikkekantega rikkekantega merged commit b56049b into master Oct 29, 2020
@rikkekantega rikkekantega deleted the rikke/theming-fixes branch October 29, 2020 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants