Replace suffixes for @PreviewsDayNight annotation (#1736)
* Replace suffix for PreviewsDayNight annotation * Rename Preview, since its filename was way too long * Update screenshots --------- Co-authored-by: ElementBot <benoitm+elementbot@element.io>
This commit is contained in:
parent
1f5a135072
commit
14dc8e1059
1066 changed files with 3 additions and 3 deletions
|
|
@ -79,7 +79,7 @@ private fun SessionState.toStringResId(): Int {
|
|||
|
||||
@PreviewsDayNight
|
||||
@Composable
|
||||
internal fun TimelineEncryptedHistoryBannerViewPreview(
|
||||
internal fun EncryptedHistoryBannerViewPreview(
|
||||
@PreviewParameter(SessionStateProvider::class) sessionState: SessionState,
|
||||
) = ElementPreview {
|
||||
TimelineEncryptedHistoryBannerView(sessionState = sessionState)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ import androidx.compose.ui.tooling.preview.Preview
|
|||
*
|
||||
* NB: Length of this constant is kept to a minimum to avoid screenshot file names being too long.
|
||||
*/
|
||||
const val NIGHT_MODE_NAME = "N"
|
||||
const val NIGHT_MODE_NAME = "Night"
|
||||
|
||||
/**
|
||||
* Marker for a day mode preview.
|
||||
|
|
@ -35,7 +35,7 @@ const val NIGHT_MODE_NAME = "N"
|
|||
*
|
||||
* NB: Length of this constant is kept to a minimum to avoid screenshot file names being too long.
|
||||
*/
|
||||
const val DAY_MODE_NAME = "D"
|
||||
const val DAY_MODE_NAME = "Day"
|
||||
|
||||
/**
|
||||
* Generates 2 previews of the composable it is applied to: day and night mode.
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue