Skip to content

Commit

Permalink
Formet
Browse files Browse the repository at this point in the history
  • Loading branch information
Latropos committed Aug 12, 2024
1 parent 0f53fd4 commit 48dd65f
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -458,12 +458,10 @@ public String obtainProp(int viewTag, String propName) {
if (background instanceof ReactViewBackgroundDrawable) {
actualColor = ((ReactViewBackgroundDrawable) background).getColor();
}
;

if (background instanceof CSSBackgroundDrawable) {
actualColor = ((CSSBackgroundDrawable) background).getColor();
}
;

if (actualColor == -1) {
return "Unable to resolve background color";
Expand All @@ -473,8 +471,6 @@ public String obtainProp(int viewTag, String propName) {
// By default transparency is first, color second
return "#" + invertedColor.substring(2, 8) + invertedColor.substring(0, 2);

;

default:
throw new IllegalArgumentException(
"[Reanimated] Attempted to get unsupported property "
Expand Down

0 comments on commit 48dd65f

Please sign in to comment.