mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
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:
committed by
GitHub
parent
1f5a135072
commit
14dc8e1059
+2
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user