Rearrange RecoveryPassword ComposePreview

This commit is contained in:
Andrew 2024-06-18 12:18:42 +09:30
parent 79090bab22
commit 4e43f6077d

View File

@ -42,16 +42,6 @@ import org.thoughtcrime.securesms.ui.contentDescription
import org.thoughtcrime.securesms.ui.extraSmallMonospace
import org.thoughtcrime.securesms.ui.h8
@Preview
@Composable
private fun PreviewRecoveryPasswordScreen(
@PreviewParameter(SessionColorsParameterProvider::class) colors: Colors
) {
PreviewTheme(colors) {
RecoveryPasswordScreen(seed = "Voyage urban toyed maverick peculiar tuxedo penguin tree grass building listen speak withdraw terminal plane")
}
}
@Composable
internal fun RecoveryPasswordScreen(
seed: String = "",
@ -185,3 +175,13 @@ private fun HideRecoveryPasswordCell(onHide: () -> Unit = {}) {
}
}
}
@Preview
@Composable
private fun PreviewRecoveryPasswordScreen(
@PreviewParameter(SessionColorsParameterProvider::class) colors: Colors
) {
PreviewTheme(colors) {
RecoveryPasswordScreen(seed = "Voyage urban toyed maverick peculiar tuxedo penguin tree grass building listen speak withdraw terminal plane")
}
}