2026-08-11 06:20:06 +00:00
|
|
|
// Module ID: 1896
|
|
|
|
|
// Function ID: 1897
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getDevicePixelRatio
|
2026-07-29 08:29:29 +00:00
|
|
|
// Dependencies: [17, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-11 06:20:06 +00:00
|
|
|
// Module 1896 (getDevicePixelRatio)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const PixelRatio = get_ActivityIndicator.PixelRatio;
|
|
|
|
|
const result = set.fileFinishedImporting("utils/getDevicePixelRatio.native.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function getDevicePixelRatio() {
|
2026-07-29 08:29:29 +00:00
|
|
|
let num = PixelRatio.get();
|
|
|
|
|
if (num == null) {
|
|
|
|
|
num = 1;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return num;
|
|
|
|
|
};
|