Skip to content

Commit

Permalink
Remove generic
Browse files Browse the repository at this point in the history
  • Loading branch information
toluo-stripe committed Jan 7, 2025
1 parent 74c97d9 commit 1c46853
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import com.stripe.android.link.theme.linkColors
* @param onItemPress Called when an item in the list is pressed
*/
@Composable
internal fun <T : LinkMenuItem> LinkMenu(
internal fun LinkMenu(
modifier: Modifier = Modifier,
items: List<T>,
onItemPress: (T) -> Unit
items: List<LinkMenuItem>,
onItemPress: (LinkMenuItem) -> Unit
) {
Column(
modifier = modifier
Expand All @@ -47,8 +47,8 @@ internal fun <T : LinkMenuItem> LinkMenu(
}

@Composable
private fun <T : LinkMenuItem> LinkBottomSheetRow(
item: T,
private fun LinkBottomSheetRow(
item: LinkMenuItem,
modifier: Modifier = Modifier
) {
Row(
Expand Down

0 comments on commit 1c46853

Please sign in to comment.