-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Remove no longer necessary selection checks #22500
Remove no longer necessary selection checks #22500
Conversation
} | ||
selection = { | ||
start: newSelectionStart, | ||
end: newSelectionEnd, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of the three selection checks, this is the only one that tries to do more than just setting the selection to null
if there is a problem, so I decided to leave it in even though I think we could probably remove it as well now.
40fb567
to
8f5a873
Compare
Size Change: 0 B Total Size: 824 kB ℹ️ View Unchanged
|
These are now handled on the native side
8f5a873
to
948e05e
Compare
You're absolutely right @geriux ! I forgot to remove those, but I have now. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! It's always good to see some code refactor =)
* RNMobile - Starter Page Templates - Portfolio: adds missing ids for galleries (#22321) * Fix margin for the post-title (#22331) * Fix margin for the post-title Add 4px margin from the edges of the screen and adjust the alignment of text. * Only apply margins on the left and right edges. * Correct buttons appender (#22362) * Remove no longer necessary selection checks (#22500) These are now handled on the native side Co-authored-by: Gerardo Pacheco <[email protected]> Co-authored-by: Sérgio Estêvão <[email protected]> Co-authored-by: Luke Walczak <[email protected]>
Remove checks that are now handled on the native side by Android.
See the related gutenberg-mobile PR for further description and testing steps: wordpress-mobile/gutenberg-mobile#2279
Checklist: