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

Obey library loading state and add modifiers only where needed #199

Merged
merged 1 commit into from Sep 6, 2017
Merged

Obey library loading state and add modifiers only where needed #199

merged 1 commit into from Sep 6, 2017

Conversation

stefanhaustein
Copy link
Contributor

This is a strict subset of my other pull request, which also adds support library span handling. The purpose is to simplify the review process and to separate concerns.

It addresses two issues

  • EmojiCompat span replacement routines are now only called when the library is ready. Before, an exception might be thrown if emojis were used at an earlier point of time.

  • The emoji style modifler is added explicitly in the data where needed by the emoji support library. Before, it was added using an incomplete "rule of thumb" in the drawable. The previous approach was incorrect, overly broad and won't work if the whole text replacement is handled by the library.

@codecov
Copy link

codecov bot commented Aug 31, 2017

Codecov Report

Merging #199 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #199   +/-   ##
=======================================
  Coverage   27.93%   27.93%           
=======================================
  Files          22       22           
  Lines         809      809           
  Branches       88       88           
=======================================
  Hits          226      226           
  Misses        565      565           
  Partials       18       18

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f44ad22...d9fcdc0. Read the comment docs.

@vanniktech
Copy link
Owner

I'll look at this PR shortly. I'm rather busy at the moment.

@vanniktech
Copy link
Owner

This has some of the things also from #198, right? If so I'd say let's focus on one PR first and let's do the other one. Feel free to choose with which we should start.

@stefanhaustein
Copy link
Contributor Author

stefanhaustein commented Sep 6, 2017

This is a clean subset of #198, so ideally we'd do this first. 199 contains some unrelated things that are probably better handled as separate PRs.

Copy link
Owner

@vanniktech vanniktech left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@vanniktech vanniktech merged commit 07e4d4c into vanniktech:master Sep 6, 2017
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