mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
RecoveryKey: add previews to check the visual transformation.
This commit is contained in:
+4
-2
@@ -27,9 +27,11 @@ open class RecoveryKeyViewStateProvider : PreviewParameterProvider<RecoveryKeyVi
|
|||||||
aRecoveryKeyViewState(recoveryKeyUserStory = it, inProgress = true),
|
aRecoveryKeyViewState(recoveryKeyUserStory = it, inProgress = true),
|
||||||
aRecoveryKeyViewState(recoveryKeyUserStory = it, formattedRecoveryKey = aFormattedRecoveryKey()),
|
aRecoveryKeyViewState(recoveryKeyUserStory = it, formattedRecoveryKey = aFormattedRecoveryKey()),
|
||||||
aRecoveryKeyViewState(recoveryKeyUserStory = it, formattedRecoveryKey = aFormattedRecoveryKey(), inProgress = true),
|
aRecoveryKeyViewState(recoveryKeyUserStory = it, formattedRecoveryKey = aFormattedRecoveryKey(), inProgress = true),
|
||||||
// Add other states here
|
|
||||||
)
|
)
|
||||||
}
|
} + sequenceOf(
|
||||||
|
aRecoveryKeyViewState(recoveryKeyUserStory = RecoveryKeyUserStory.Enter, formattedRecoveryKey = aFormattedRecoveryKey().replace(" ", "")),
|
||||||
|
aRecoveryKeyViewState(recoveryKeyUserStory = RecoveryKeyUserStory.Enter, formattedRecoveryKey = "This is a passphrase with spaces"),
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun aRecoveryKeyViewState(
|
fun aRecoveryKeyViewState(
|
||||||
|
|||||||
Reference in New Issue
Block a user