Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.

MultiPreview annotations should start with `Previews` as prefix
This commit is contained in:
Benoit Marty 2023-09-21 08:26:17 +02:00 committed by Benoit Marty
parent 97f2d211ae
commit 0e4c146e87
146 changed files with 319 additions and 319 deletions

View file

@ -133,7 +133,7 @@ if (allowList.includes(user)) {
const previewAnnotations = [
'androidx.compose.ui.tooling.preview.Preview',
'io.element.android.libraries.designsystem.preview.PreviewWithLargeHeight',
'io.element.android.libraries.designsystem.preview.DayNightPreviews'
'io.element.android.libraries.designsystem.preview.PreviewsDayNight'
]
const filesWithPreviews = editedFiles.filter(file => file.endsWith(".kt")).filter(file => {