Daily `arc lint --take CLANGFORMAT`

Reviewed By: zertosh

Differential Revision: D29983521

fbshipit-source-id: bebd38e79180c544c8c1986605cc1af4b1f4df98
This commit is contained in:
CodemodService FBSourceClangFormatLinterBot 2021-07-29 04:21:52 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 5df92fb06c
Коммит ce44104b2b
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -174,8 +174,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithTarget : (id)target action : (SEL)act
// have a value of `1.0 / nativeTouch.maximumPossibleForce`)?
if (RCTForceTouchAvailable()) {
reactTouch[@"force"] = @(RCTZeroIfNaN(nativeTouch.force / nativeTouch.maximumPossibleForce));
}
else if (nativeTouch.type == UITouchTypePencil) {
} else if (nativeTouch.type == UITouchTypePencil) {
reactTouch[@"force"] = @(RCTZeroIfNaN(nativeTouch.force / nativeTouch.maximumPossibleForce));
reactTouch[@"altitudeAngle"] = @(RCTZeroIfNaN(nativeTouch.altitudeAngle));
}