Remove a few TODOs

This commit is contained in:
mrousavy
2021-03-17 19:29:03 +01:00
parent dff8fc7178
commit 89a35812f7
7 changed files with 16 additions and 35 deletions

View File

@@ -99,7 +99,6 @@ class CameraViewManager : SimpleViewManager<CameraView>() {
fun setTorch(view: CameraView, torch: String) {
if (view.torch != torch)
addChangedPropToTransaction(view, "torch")
// TODO: why THE FUCK is this not being called?
view.torch = torch
}
@@ -107,7 +106,6 @@ class CameraViewManager : SimpleViewManager<CameraView>() {
fun setZoom(view: CameraView, zoom: Double) {
if (view.zoom != zoom)
addChangedPropToTransaction(view, "zoom")
// TODO: why THE FUCK is this not being called?
view.zoom = zoom
}