mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-11 23:17:44 +00:00
Rearrange RecoveryPassword ComposePreview
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user