Send pin-drop location (#1179)

* add location sharing action in room, and open location sharing screen

* add pin location sharing

* fix asset, add tests for location viewModel, add send location request

* fix map zoom level, fix assets for location

* add feature flag for location sharing

* hide attribution button
This commit is contained in:
Flescio
2023-06-28 11:39:38 +02:00
committed by GitHub
parent e25ca2e120
commit 102e6a64fa
29 changed files with 548 additions and 42 deletions
+2 -1
View File
@@ -29,6 +29,8 @@ internal enum Asset {
internal static let backgroundColor = ColorAsset(name: "colors/background-color")
}
internal enum Images {
internal static let locationMarker = ImageAsset(name: "images/location-marker")
internal static let locationPin = ImageAsset(name: "images/location-pin")
internal static let appLogo = ImageAsset(name: "images/app-logo")
internal static let serverSelectionIcon = ImageAsset(name: "images/server-selection-icon")
internal static let closeCircle = ImageAsset(name: "images/close-circle")
@@ -37,7 +39,6 @@ internal enum Asset {
internal static let encryptionWarning = ImageAsset(name: "images/encryption-warning")
internal static let launchBackground = ImageAsset(name: "images/launch-background")
internal static let launchLogo = ImageAsset(name: "images/launch-logo")
internal static let locationPin = ImageAsset(name: "images/location-pin")
internal static let timelineComposerSendMessage = ImageAsset(name: "images/timeline-composer-send-message")
}
}