Skip to content

Commit c746981

Browse files
author
Marco Romano
authored
Add screenshots with ~1.5 lines long desc to expanded location view (#923)
This will help in catching alignment regressions. Related to: - element-hq/element-meta#1678
1 parent e8e4542 commit c746981

5 files changed

+17
-4
lines changed

features/location/impl/src/main/kotlin/io/element/android/features/location/impl/show/ShowLocationStateProvider.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ class ShowLocationStateProvider : PreviewParameterProvider<ShowLocationState> {
5050
isTrackMyLocation = false,
5151
eventSink = {},
5252
),
53+
ShowLocationState(
54+
Location(1.23, 2.34, 4f),
55+
description = "For some reason I decided to to write a small essay that wraps at just two lines!",
56+
hasLocationPermission = false,
57+
isTrackMyLocation = false,
58+
eventSink = {},
59+
),
5360
ShowLocationState(
5461
Location(1.23, 2.34, 4f),
5562
description = "For some reason I decided to write a small essay in the location description. " +

0 commit comments

Comments
 (0)