mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 02:04:55 +00:00
remove extraneous dimension conversion
Differential Revision: D2635753 fb-gh-sync-id: dd7d965ceb90c2c4771d4d28bbc6ec9ef97eca0c
This commit is contained in:
parent
c16574a0b4
commit
dd8ee4ad75
@ -31,12 +31,12 @@ public class DrawableWithIntrinsicSize extends ForwardingDrawable implements Dra
|
||||
|
||||
@Override
|
||||
public int getIntrinsicWidth() {
|
||||
return (int) PixelUtil.toDIPFromPixel(mImageInfo.getWidth());
|
||||
return mImageInfo.getWidth();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getIntrinsicHeight() {
|
||||
return (int) PixelUtil.toDIPFromPixel(mImageInfo.getHeight());
|
||||
return mImageInfo.getHeight();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user