"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.normalize = normalize;
var _reactNative = require("react-native");
function normalize(size, scale) {
  const newSize = size * scale;
  if (_reactNative.Platform.OS === 'ios') {
    return size;
  } else {
    return Math.round(_reactNative.PixelRatio.roundToNearestPixel(newSize)) - 10;
  }
}
//# sourceMappingURL=normalize.js.map