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

@ -27,7 +27,7 @@ import androidx.compose.ui.unit.dp
import io.element.android.libraries.designsystem.components.ProgressDialog
import io.element.android.libraries.designsystem.components.dialogs.ConfirmationDialog
import io.element.android.libraries.designsystem.components.dialogs.ErrorDialog
import io.element.android.libraries.designsystem.preview.DayNightPreviews
import io.element.android.libraries.designsystem.preview.PreviewsDayNight
import io.element.android.libraries.designsystem.preview.ElementPreview
import io.element.android.libraries.matrix.api.core.RoomId
import io.element.android.libraries.ui.strings.CommonStrings
@ -107,7 +107,7 @@ private fun LeaveRoomErrorDialog(
}
}
@DayNightPreviews
@PreviewsDayNight
@Composable
internal fun LeaveRoomViewPreview(
@PreviewParameter(LeaveRoomStateProvider::class) state: LeaveRoomState