-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Could you explain why you have ' - 2 ' in the end in android width size?
const newSize = based === 'height' ? size * hscale : size * wscale;
if (Platform.OS === 'ios') {
return Math.round(PixelRatio.roundToNearestPixel(newSize));
} else {
return Math.round(PixelRatio.roundToNearestPixel(newSize)) - 2;
}
christophedebatz, DevanandGowda, solidw, joaovitorleffa, DeniferSantiago and 5 more
Metadata
Metadata
Assignees
Labels
No labels