mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Fix how we compute screenshot files.
`AttachmentsPreviewViewPreview` was wrongly converted to `AttachmentsView` instead of `AttachmentsPreviewView`
This commit is contained in:
@@ -83,7 +83,7 @@ private fun Paparazzi.fixScreenshotName(preview: ComposablePreview<AndroidPrevie
|
|||||||
.joinToString(".")
|
.joinToString(".")
|
||||||
val testName = TestName(
|
val testName = TestName(
|
||||||
packageName = packageName,
|
packageName = packageName,
|
||||||
className = preview.methodName.replace("Preview", ""),
|
className = preview.methodName.removeSuffix("Preview"),
|
||||||
methodName = id
|
methodName = id
|
||||||
)
|
)
|
||||||
testNameField.set(this, testName)
|
testNameField.set(this, testName)
|
||||||
|
|||||||
Reference in New Issue
Block a user