-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[TicTacToe] Fix missing image styles for TicTacToe example #1122
Conversation
Without a width or height set for the X or O image they don't appear, fix this problem by adding styles with width and height specified.
@frantic should this be using the require(image!xxx) syntax for images instead? That way, we get the size set automatically, right? |
Isn't that only for Xcode bundled images? |
Oh right, these are remote images. Sorry, then yes, this is fine. |
We should probably stop using these remote images. 😆 |
@rustyconover - could you update this PR to load the images from |
FYI: we're deprecated the automatic style from require(image!... magic so please don't use it going forward ;) |
@facebook-github-bot import |
Thanks for importing. If you are an FB employee go to https://our.intern.facebook.com/intern/opensource/github/pull_request/691320904330225/int_phab to review. |
Summary: Without a width or height set for the X or O image they don't appear, fix this problem by adding styles with width and height specified. Closes facebook#1122 Github Author: Rusty Conover <[email protected]> Test Plan: Imported from GitHub, without a `Test Plan:` line.
Several more compliance fixes
Without a width or height set for the X or O image they don't appear, fix this problem by adding styles with width and height specified.