element-x-ada/libraries
Marco Romano 3449ea486a Optional day night preview annotation (#793)
Adds the `@DayNightPreviews` annotation that when used on a composable will:
- Display both a day mode and night mode preview in Android Studio.
- Produce both a day and night screenshot during screenshot testing.

The usage of this new annotation is optional, all the current previews continue to work without breakages.
New code can use, when appropriate, the new `@DayNightPreviews` annotation and replace the pattern using three `LightPreview/DarkPreview/ContentToPreview` functions with:

```
@DayNightPreviews
@Composable
fun MyScreenPreview(@PreviewParameter(MyStateProvider::class) state: MyState) {
    ElementPreview {
        MyScreen(
            state = state,
        )
    }
}
```
2023-07-06 12:35:54 +02:00
..
androidutils Sync Strings from Localazy 2023-07-03 00:11:17 +00:00
architecture Async API improvements "v2" (#672) 2023-06-27 13:37:23 +02:00
core Add application version to the setting screen. 2023-07-03 17:09:04 +02:00
coroutines Update Gradle to 8.1 and AGP to v8.0 (#329) 2023-04-17 08:49:52 +00:00
dateformatter Update Gradle to 8.1 and AGP to v8.0 (#329) 2023-04-17 08:49:52 +00:00
deeplink Room list: tweak UI and add overflow menu with report bug and invite friends action. 2023-06-27 19:23:37 +02:00
designsystem Optional day night preview annotation (#793) 2023-07-06 12:35:54 +02:00
di Update Gradle to 8.1 and AGP to v8.0 (#329) 2023-04-17 08:49:52 +00:00
encrypted-db Update Gradle to 8.1 and AGP to v8.0 (#329) 2023-04-17 08:49:52 +00:00
eventformatter Show descriptions for locations. 2023-07-05 15:18:36 +01:00
featureflag Revert "Auto generate dark mode previews and screenshots (#776)" (#784) 2023-07-05 15:47:53 +02:00
matrix Show descriptions for locations. 2023-07-05 15:18:36 +01:00
matrixui Revert "Auto generate dark mode previews and screenshots (#776)" (#784) 2023-07-05 15:47:53 +02:00
mediapickers Fix tests after rebase 2023-05-11 16:30:37 +02:00
mediaupload Media upload: branch progress callback to UI 2023-06-28 23:14:08 +02:00
network Configure user agent for all network request (#677) 2023-06-29 13:05:23 +02:00
permissions Revert "Auto generate dark mode previews and screenshots (#776)" (#784) 2023-07-05 15:47:53 +02:00
push Sync Strings from Localazy 2023-07-03 00:11:17 +00:00
pushproviders Update kotlin 2023-06-28 22:23:44 +00:00
pushstore Remove useless OptIn in tests 2023-05-12 10:05:39 +02:00
rustsdk convert rustsdk gradle file to kts 2023-04-04 15:44:37 +02:00
session-storage Fix detected forbidden pattern. 2023-05-31 15:31:05 +02:00
testtags Update maestro test regarding the new login flow. 2023-06-09 10:19:49 +02:00
textcomposer Fix actions for redacted, not sent and media messages (#771) 2023-07-05 14:08:17 +00:00
theme Use temporary color for default avatar background 2023-06-29 18:17:37 +02:00
ui-strings Sync Strings from Localazy 2023-07-03 00:11:17 +00:00
usersearch Merge remote-tracking branch 'origin/develop' into misc/cjs/create-join-design-feedback 2023-06-01 13:26:27 +01:00