mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 16:49:40 +01:00
Add initial registration v5 prototype.
This commit is contained in:
committed by
jeffrey-signal
parent
1a5163fc47
commit
5ea5279fbb
@@ -105,7 +105,7 @@ private fun Sheet(onDismiss: () -> Unit = {}) {
|
||||
@DayNightPreviews
|
||||
@Composable
|
||||
private fun ConnectivityWarningSheetPreview() {
|
||||
Previews.BottomSheetPreview {
|
||||
Previews.BottomSheetContentPreview {
|
||||
Sheet()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -127,7 +127,7 @@ private fun DeviceSpecificSheet(onContinue: () -> Unit = {}, onDismiss: () -> Un
|
||||
@DayNightPreviews
|
||||
@Composable
|
||||
private fun DeviceSpecificSheetPreview() {
|
||||
Previews.BottomSheetPreview {
|
||||
Previews.BottomSheetContentPreview {
|
||||
DeviceSpecificSheet()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@ private fun SubscriptionNotFoundReason(text: String) {
|
||||
@DayNightPreviews
|
||||
@Composable
|
||||
private fun SubscriptionNotFoundContentPreview() {
|
||||
Previews.BottomSheetPreview {
|
||||
Previews.BottomSheetContentPreview {
|
||||
Column {
|
||||
SubscriptionNotFoundContent()
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ fun EducationRow(text: String, painter: Painter) {
|
||||
@DayNightPreviews
|
||||
@Composable
|
||||
fun ChatFoldersEducationSheetPreview() {
|
||||
Previews.BottomSheetPreview {
|
||||
Previews.BottomSheetContentPreview {
|
||||
FolderEducationSheet(onClick = {})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ class PendingParticipantsBottomSheet : ComposeBottomSheetDialogFragment() {
|
||||
@NightPreview
|
||||
@Composable
|
||||
private fun PendingParticipantsSheetPreview() {
|
||||
Previews.BottomSheetPreview {
|
||||
Previews.BottomSheetContentPreview {
|
||||
PendingParticipantsSheet(
|
||||
pendingParticipants = listOf(
|
||||
PendingParticipantCollection.State.PENDING,
|
||||
|
||||
@@ -630,7 +630,7 @@ private fun ThreeUnknownAvatars() {
|
||||
@NightPreview
|
||||
@Composable
|
||||
private fun UnknownMembersRowPreview() {
|
||||
Previews.BottomSheetPreview {
|
||||
Previews.BottomSheetContentPreview {
|
||||
Column {
|
||||
UnknownMembersRow(unknownMemberCount = 1, allCallMembersAreUnknown = true)
|
||||
UnknownMembersRow(unknownMemberCount = 1, allCallMembersAreUnknown = false)
|
||||
|
||||
@@ -106,7 +106,7 @@ class CallLinkIncomingRequestSheet : ComposeBottomSheetDialogFragment() {
|
||||
@NightPreview
|
||||
@Composable
|
||||
private fun CallLinkIncomingRequestSheetContentPreview() {
|
||||
Previews.BottomSheetPreview {
|
||||
Previews.BottomSheetContentPreview {
|
||||
CallLinkIncomingRequestSheetContent(
|
||||
state = CallLinkIncomingRequestState(
|
||||
name = "Miles Morales",
|
||||
|
||||
@@ -266,7 +266,7 @@ private fun LegacyAudioPickerContent(
|
||||
@NightPreview
|
||||
@Composable
|
||||
private fun CallAudioPickerSheetContentPreview() {
|
||||
Previews.BottomSheetPreview {
|
||||
Previews.BottomSheetContentPreview {
|
||||
Column {
|
||||
LegacyAudioPickerContent(
|
||||
toggleButtonOutputState = ToggleButtonOutputState().apply {
|
||||
|
||||
Reference in New Issue
Block a user