Skip to content

Commit

Permalink
Removing customization for auth button text
Browse files Browse the repository at this point in the history
  • Loading branch information
lalwani committed Jun 12, 2024
1 parent f970b68 commit 4d795c5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,19 @@ import androidx.compose.ui.graphics.Shape
import androidx.compose.ui.res.colorResource
import androidx.compose.ui.res.dimensionResource
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import com.uber.sdk2.core.R

@Composable
fun UberAuthButton(
text: String,
isWhite: Boolean = false,
shape: Shape = RoundedCornerShape(4.dp),
onClick: () -> Unit,
) {
val text = stringResource(id = com.uber.sdk2.auth.R.string.ub__sign_in)
val interactionSource = remember { MutableInteractionSource() }
val isPressed = interactionSource.collectIsPressedAsState().value

Expand Down

0 comments on commit 4d795c5

Please sign in to comment.