mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
[Flow] v0.11.0 cleaning - Part 14 (react-native-github)
This commit is contained in:
committed by
Christopher Chedeau
parent
4a137aa840
commit
184bb1151a
@@ -67,9 +67,9 @@ class PixelRatio {
|
||||
static getPixelSizeForLayoutSize(layoutSize: number): number {
|
||||
return Math.round(layoutSize * PixelRatio.get());
|
||||
}
|
||||
|
||||
// No-op for iOS, but used on the web. Should not be documented.
|
||||
static startDetecting() {}
|
||||
}
|
||||
|
||||
// No-op for iOS, but used on the web. Should not be documented.
|
||||
PixelRatio.startDetecting = function() {};
|
||||
|
||||
module.exports = PixelRatio;
|
||||
|
||||
Reference in New Issue
Block a user