Add fullscreen map to live location delegates as well

This commit is contained in:
Volker Krause
2023-06-18 10:16:14 +02:00
parent 30f8573dfc
commit c06e69931a
2 changed files with 20 additions and 5 deletions

View File

@@ -47,6 +47,10 @@ TimelineContainer {
TapHandler {
acceptedButtons: Qt.LeftButton
onTapped: {
let map = fullScreenMap.createObject(parent, {liveLocationModel: liveLocationModel});
map.open()
}
onLongPressed: openMessageContext("")
}
TapHandler {
@@ -54,5 +58,9 @@ TimelineContainer {
onTapped: openMessageContext("")
}
}
Component {
id: fullScreenMap
FullScreenMap {}
}
}
}