Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,17 @@ fun CylinderSizeDialogCustomScreenshotTest() {
CylinderSizeDialogCustomPreview()
}

@PreviewTest
@PreviewForScreenshotTestsDialog
@Composable
fun CylinderSizeDialogImperialPresetsScreenshotTest() {
CylinderSizeDialogImperialPresetsPreview()
}

@PreviewTest
@PreviewForScreenshotTestsDialog
@Composable
fun CylinderSizeDialogImperialCustomScreenshotTest() {
CylinderSizeDialogImperialCustomPreview()
}

Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,33 @@ package org.neotech.app.abysner.presentation.screens
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import com.android.tools.screenshot.PreviewTest
import org.neotech.app.abysner.presentation.preview.DEVICE_PHONE_MAX_HEIGHT

@PreviewTest
@Preview
@Preview(device = DEVICE_SHARE_IMAGE)
@Composable
fun ShareImageScreenshotTest() {
ShareImagePreview()
}

@PreviewTest
@Preview
@Preview(device = DEVICE_SHARE_IMAGE)
@Composable
fun ShareImageExtremeScreenshotTest() {
ShareImagePreviewExtreme()
}

@PreviewTest
@Preview
@Preview(device = DEVICE_SHARE_IMAGE)
@Composable
fun ShareImageCcrBailoutScreenshotTest() {
ShareImagePreviewCcrBailout()
}

@PreviewTest
@Preview(device = DEVICE_SHARE_IMAGE)
@Composable
fun ShareImageImperialScreenshotTest() {
ShareImagePreviewImperial()
}

Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,10 @@ fun PlannerScreenFoldableScreenshotTest() {
PlannerScreenFoldablePreview()
}

@PreviewTest
@PreviewForScreenshotTestsMaxHeight
@Composable
fun PlannerScreenImperialScreenshotTest() {
PlannerScreenImperialPreview()
}

Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,11 @@ fun CylinderPickerBottomSheetLockedGasScreenshotTest() {
fun StandardGasPickerDialogScreenshotTest() {
StandardGasPickerDialogPreview()
}

@PreviewTest
@PreviewForScreenshotTestsDefaultHeight
@Composable
fun CylinderPickerBottomSheetImperialScreenshotTest() {
GasPickerBottomSheetImperialPreview()
}

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ fun AlertDialogCustomContent(
BasicAlertDialog(
onDismissRequest = onDismissRequest,
// Limit height to maximum that is equal to the maximum dialog width (internal: AlertDialog.DialogMaxWidth = 560)
modifier = Modifier.heightIn(max = (560 * 1.25).dp),
modifier = modifier.heightIn(max = (560 * 1.25).dp),
properties = properties
) {
AlertDialogContentCopy(
Expand Down
Loading
Loading