Skip to content

Commit

Permalink
fix(android): remove set methods for width/height/center for Views
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Feb 10, 2021
1 parent 2fc92b5 commit 64139fc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Expand Up @@ -429,7 +429,6 @@ public boolean getSustainedPerformanceMode()

@Override
@Kroll.setProperty(retain = false)
@Kroll.method
public void setWidth(Object width)
{
if (opening || opened) {
Expand All @@ -444,7 +443,6 @@ public void setWidth(Object width)

@Override
@Kroll.setProperty(retain = false)
@Kroll.method
public void setHeight(Object height)
{
if (opening || opened) {
Expand Down
Expand Up @@ -340,7 +340,6 @@ public Object getWidth()
}

@Kroll.setProperty(retain = false)
@Kroll.method
public void setWidth(Object width)
{
setPropertyAndFire(TiC.PROPERTY_WIDTH, width);
Expand All @@ -357,7 +356,6 @@ public Object getHeight()
}

@Kroll.setProperty(retain = false)
@Kroll.method
public void setHeight(Object height)
{
setPropertyAndFire(TiC.PROPERTY_HEIGHT, height);
Expand All @@ -375,7 +373,6 @@ public Object getCenter()
}

@Kroll.setProperty(retain = false)
@Kroll.method
public void setCenter(Object center)
{
setPropertyAndFire(TiC.PROPERTY_CENTER, center);
Expand Down

0 comments on commit 64139fc

Please sign in to comment.