Skip to content

Commit

Permalink
Fixed named parameter build error (#1020)
Browse files Browse the repository at this point in the history
## Proposed Changes

- Fixed build error after #994

```
e: androidx/compose/ui/text/font/FontFamilyResolver.kt:261:5 Cannot find a parameter with this name: message
e: androidx/compose/ui/text/font/FontFamilyResolver.kt:262:5 Cannot find a parameter with this name: cause
```

## Testing

Test: CI should handle it
  • Loading branch information
MatkovIvan authored Jan 29, 2024
1 parent a232f9d commit 414c515
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,6 @@ internal class FontLoadFailedException(
fontFamily: FontFamily?,
cause: Throwable? = null,
) : IllegalStateException(
message = "Failed to load font $fontFamily. Is it installed on the system?",
cause = cause,
/* message = */ "Failed to load font $fontFamily. Is it installed on the system?",
/* cause = */ cause,
)

0 comments on commit 414c515

Please sign in to comment.