decord/source/utils/getDevicePixelRatio.native.tsx

20 lines
458 B
TypeScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 1825
2026-07-24 07:16:23 +00:00
// Function ID: 20015
2026-07-20 16:05:17 +00:00
// Name: getDevicePixelRatio
2026-07-23 10:11:24 +00:00
// Dependencies: [27, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 1825 (getDevicePixelRatio)
2026-07-23 10:11:24 +00:00
import { PixelRatio } from "get ActivityIndicator";
const result = require("set").fileFinishedImporting("utils/getDevicePixelRatio.native.tsx");
2026-07-20 16:05:17 +00:00
export default function getDevicePixelRatio() {
const value = PixelRatio.get();
let num = 1;
if (null != value) {
num = value;
}
return num;
};