Delete Location Sharing feature flags (#1358)

* Delete location sharing feature flags

* Add changelog.d file

* Update localizations

* Amend changelog file
This commit is contained in:
Alfonso Grillo
2023-07-19 12:15:26 +02:00
committed by GitHub
parent cf39710891
commit df58d8378e
9 changed files with 19 additions and 54 deletions
@@ -53,14 +53,12 @@ struct RoomAttachmentPicker: View {
} label: {
PickerLabel(title: L10n.screenRoomAttachmentSourceCamera, icon: Image(systemName: "camera.fill"))
}
if ServiceLocator.shared.settings.shareLocationEnabled {
Button {
context.showAttachmentPopover = false
context.send(viewAction: .displayLocationPicker)
} label: {
PickerLabel(title: L10n.screenRoomAttachmentSourceLocation, icon: Image(asset: Asset.Images.locationPin))
}
Button {
context.showAttachmentPopover = false
context.send(viewAction: .displayLocationPicker)
} label: {
PickerLabel(title: L10n.screenRoomAttachmentSourceLocation, icon: Image(asset: Asset.Images.locationPin))
}
}
.padding(.top, isPresented ? 20 : 0)