mirror of
https://github.com/bitwarden/android.git
synced 2026-08-28 22:45:25 -05:00
PM-15147 - MasterPasswordGuidanceScreen PR Cleanup (#4411)
This commit is contained in:
+8
-6
@@ -76,23 +76,25 @@ fun MasterPasswordGuidanceScreen(
|
||||
},
|
||||
) {
|
||||
MasterPasswordGuidanceContent(
|
||||
onTryPasswordGeneratorAction = remember(viewModel) {
|
||||
{
|
||||
viewModel.trySendAction(
|
||||
MasterPasswordGuidanceAction.TryPasswordGeneratorAction,
|
||||
)
|
||||
}
|
||||
},
|
||||
modifier = Modifier
|
||||
.fillMaxSize()
|
||||
.verticalScroll(rememberScrollState())
|
||||
.standardHorizontalMargin(),
|
||||
onTryPasswordGeneratorAction = {
|
||||
viewModel.trySendAction(
|
||||
MasterPasswordGuidanceAction.TryPasswordGeneratorAction,
|
||||
)
|
||||
},
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
private fun MasterPasswordGuidanceContent(
|
||||
modifier: Modifier = Modifier,
|
||||
onTryPasswordGeneratorAction: () -> Unit,
|
||||
modifier: Modifier = Modifier,
|
||||
) {
|
||||
Column(modifier = modifier) {
|
||||
Spacer(modifier = Modifier.height(24.dp))
|
||||
|
||||
Reference in New Issue
Block a user