Add screenshots with ~1.5 lines long desc to expanded location view (#923)

This will help in catching alignment regressions.

Related to:
- https://github.com/vector-im/element-meta/issues/1678
This commit is contained in:
Marco Romano
2023-07-20 15:42:35 +02:00
committed by GitHub
parent 8648e8ba53
commit d5a93a50e0
5 changed files with 17 additions and 4 deletions

View File

@@ -50,6 +50,13 @@ class ShowLocationStateProvider : PreviewParameterProvider<ShowLocationState> {
isTrackMyLocation = false,
eventSink = {},
),
ShowLocationState(
Location(1.23, 2.34, 4f),
description = "For some reason I decided to to write a small essay that wraps at just two lines!",
hasLocationPermission = false,
isTrackMyLocation = false,
eventSink = {},
),
ShowLocationState(
Location(1.23, 2.34, 4f),
description = "For some reason I decided to write a small essay in the location description. " +