Skip to content

Commit

Permalink
fix ForgotPasswordUI.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolvermamm committed Feb 13, 2022
1 parent b5de71b commit 9071500
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ private fun textFieldColors() = TextFieldDefaults.textFieldColors(
focusedIndicatorColor = Color.Transparent,
disabledIndicatorColor = Color.Transparent,
unfocusedIndicatorColor = Color.Transparent,
backgroundColor = PraxisColorProvider.colors.uiBackground.copy(alpha = AlphaNearTransparent),
backgroundColor = PraxisColorProvider.colors.accent.copy(alpha = AlphaNearTransparent),
)

@Preview("Light+Dark")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,29 @@ import com.praxis.feat.authentication.vm.ForgotPasswordVM

@Composable
fun ForgotPasswordUI(forgotPasswordVM: ForgotPasswordVM = hiltViewModel()){
Scaffold(
backgroundColor = PraxisColorProvider.colors.uiBackground,
contentColor = PraxisColorProvider.colors.textSecondary,
modifier = Modifier
.statusBarsPadding()
.navigationBarsPadding(),
topBar = {
PraxisSurfaceAppBar(
title = {
Text(
text = "Forgot password",
style = PraxisTypography.h5.copy(
color = Color.White,
fontWeight = FontWeight.Bold
PraxisTheme() {
Scaffold(
backgroundColor = PraxisColorProvider.colors.uiBackground,
contentColor = PraxisColorProvider.colors.textSecondary,
modifier = Modifier
.statusBarsPadding()
.navigationBarsPadding(),
topBar = {
PraxisSurfaceAppBar(
title = {
Text(
text = "Forgot password",
style = PraxisTypography.h5.copy(
color = Color.White,
fontWeight = FontWeight.Bold
)
)
)
},
backgroundColor = PraxisColorProvider.colors.appBarColor,
)
}) {
ForgotPasswordSurface(forgotPasswordVM)
},
backgroundColor = PraxisColorProvider.colors.appBarColor,
)
}) {
ForgotPasswordSurface(forgotPasswordVM)
}
}

}
Expand Down

0 comments on commit 9071500

Please sign in to comment.