Add first tests for ShowLocationView

This commit is contained in:
Benoit Marty 2024-02-19 10:24:20 +01:00 committed by Benoit Marty
parent 367e4bdbda
commit 3cbbde7c3e
5 changed files with 179 additions and 4 deletions

View file

@ -120,10 +120,14 @@ fun ShowLocationView(
)
},
navigationIcon = {
BackButton(onClick = onBackPressed)
BackButton(
onClick = onBackPressed,
)
},
actions = {
IconButton(onClick = { state.eventSink(ShowLocationEvents.Share) }) {
IconButton(
onClick = { state.eventSink(ShowLocationEvents.Share) }
) {
Icon(
imageVector = CompoundIcons.ShareAndroid(),
contentDescription = stringResource(CommonStrings.action_share),