MESSENGER-5379 dynamic location attribution from style.json

This commit is contained in:
Frank Rotermund
2024-01-09 11:02:02 +01:00
parent 9c10374575
commit d7749bb5da
12 changed files with 143 additions and 22 deletions
@@ -25,6 +25,7 @@ enum StaticLocationViewingViewAction {
case share
case mapCreditsDidTap
case showUserLocation
case showMapCredit(mapAttribution: LocationSharingAttribution)
}
enum StaticLocationViewingViewModelResult {
@@ -60,6 +61,8 @@ struct StaticLocationViewingViewState: BindableState {
let errorSubject = PassthroughSubject<LocationSharingViewError, Never>()
var bindings = StaticLocationViewingViewBindings()
var attribution = LocationSharingAttribution()
}
struct StaticLocationViewingViewBindings {