DEV Community

Discussion on: How To Make Your React Native Apps Responsive

Collapse
 
hitzu profile image
Roberto Torres

In the normalize repo you have the next sentence.. may i ask you why did you subtract 2?

return Math.round(PixelRatio.roundToNearestPixel(newSize)) - 2;