2026-10-06 22:12:49 +00:00
|
|
|
// Module ID: 1886
|
|
|
|
|
// Function ID: 1887
|
|
|
|
|
// Name: react-native
|
2026-09-18 20:18:48 +00:00
|
|
|
// Dependencies: [17, 2]
|
|
|
|
|
// Exports: default
|
|
|
|
|
|
2026-10-06 22:12:49 +00:00
|
|
|
// Module 1886 (react-native)
|
|
|
|
|
import react_native from "react-native" /* 17 */;
|
2026-09-18 20:18:48 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
2026-10-06 22:12:49 +00:00
|
|
|
const PixelRatio = react_native.PixelRatio;
|
2026-09-18 20:18:48 +00:00
|
|
|
const result = size.fileFinishedImporting("utils/getDevicePixelRatio.native.tsx");
|
|
|
|
|
|
|
|
|
|
export default function getDevicePixelRatio() {
|
|
|
|
|
let num = PixelRatio.get();
|
|
|
|
|
if (num == null) {
|
|
|
|
|
num = 1;
|
|
|
|
|
}
|
|
|
|
|
return num;
|
|
|
|
|
};
|