Skip to content

Commit

Permalink
Suppress deprecation temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
hichamboushaba committed Dec 4, 2024
1 parent 6d75b31 commit b78c986
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import androidx.compose.material.Card
import androidx.compose.material.DismissDirection
import androidx.compose.material.ExperimentalMaterialApi
import androidx.compose.material.FloatingActionButton
import androidx.compose.material.FractionalThreshold
import androidx.compose.material.Icon
import androidx.compose.material.IconButton
import androidx.compose.material.MaterialTheme
Expand Down Expand Up @@ -145,7 +144,8 @@ private fun EndpointItem(
state = dismissState,
directions = setOf(DismissDirection.EndToStart),
dismissThresholds = {
FractionalThreshold(0.3f)
@Suppress("DEPRECATION")
androidx.compose.material.FractionalThreshold(0.3f)
},
modifier = modifier,
background = {
Expand Down Expand Up @@ -184,7 +184,7 @@ private fun EndpointItem(
fontWeight = FontWeight.SemiBold
)
val pathLine = endpoint.request.httpMethod?.let { "$it " }.orEmpty() +
endpoint.request.path
endpoint.request.path
Text(
text = pathLine,
style = MaterialTheme.typography.body1
Expand Down

0 comments on commit b78c986

Please sign in to comment.