Skip to content

Commit

Permalink
Add IsColor annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
barreeeiroo committed Feb 11, 2024
1 parent 2a1b4fe commit 7d9b88c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import android.widget.ProgressBar;
import com.google.appinventor.components.annotations.DesignerComponent;
import com.google.appinventor.components.annotations.DesignerProperty;
import com.google.appinventor.components.annotations.IsColor;
import com.google.appinventor.components.annotations.SimpleObject;
import com.google.appinventor.components.annotations.SimpleProperty;
import com.google.appinventor.components.common.ComponentCategory;
Expand Down Expand Up @@ -72,6 +73,7 @@ public void Color(int color) {
}

@SimpleProperty
@IsColor
public int Color() {
return this.indeterminateColor;
}
Expand Down

0 comments on commit 7d9b88c

Please sign in to comment.