mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Replace share location icon with the iOS share location icon (#2474)
This commit is contained in:
@@ -86,8 +86,8 @@ struct RoomListFiltersState {
|
||||
var availableFilters = Set(RoomListFilter.allCases)
|
||||
for filter in activeFilters {
|
||||
availableFilters.remove(filter)
|
||||
if let complementaryFilter = filter.incompatibleFilter {
|
||||
availableFilters.remove(complementaryFilter)
|
||||
if let incompatibleFilter = filter.incompatibleFilter {
|
||||
availableFilters.remove(incompatibleFilter)
|
||||
}
|
||||
}
|
||||
return availableFilters.sorted(by: { $0.rawValue < $1.rawValue })
|
||||
|
||||
@@ -110,7 +110,7 @@ struct StaticLocationScreen: View {
|
||||
context.send(viewAction: .selectLocation)
|
||||
} label: {
|
||||
HStack(spacing: 8) {
|
||||
LocationMarkerView(mode: .button)
|
||||
CompoundIcon(\.shareIos)
|
||||
Text(context.viewState.isSharingUserLocation ? L10n.screenShareMyLocationAction : L10n.screenShareThisLocationAction)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user