-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable location sharing #1020
Enable location sharing #1020
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remarque générale de tagguer avec // Tchap: les modifs pour faciliter les futurs rebase.
vector/src/main/java/im/vector/app/core/epoxy/bottomsheet/BottomSheetMessagePreviewItem.kt
Show resolved
Hide resolved
vector/src/main/java/im/vector/app/core/epoxy/bottomsheet/BottomSheetMessagePreviewItem.kt
Outdated
Show resolved
Hide resolved
@@ -98,10 +100,8 @@ abstract class BottomSheetMessagePreviewItem : VectorEpoxyModel<BottomSheetMessa | |||
holder.body.isVisible = locationUiData == null | |||
holder.mapViewContainer.isVisible = locationUiData != null | |||
locationUiData?.let { safeLocationUiData -> | |||
GlideApp.with(holder.staticMapImageView) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Laisser ces lignes en commentaire pour faciliter les futurs rebase ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on a l'historique git et le code est déplacé dans map renderer.
vector/src/main/java/im/vector/app/core/epoxy/bottomsheet/BottomSheetMessagePreviewItem.kt
Outdated
Show resolved
Hide resolved
...ava/im/vector/app/features/home/room/detail/timeline/action/MessageActionsEpoxyController.kt
Outdated
Show resolved
Hide resolved
...ava/im/vector/app/features/home/room/detail/timeline/action/MessageActionsEpoxyController.kt
Outdated
Show resolved
Hide resolved
@@ -75,25 +85,25 @@ abstract class AbsMessageLocationItem<H : AbsMessageLocationItem.Holder>( | |||
RoundedCorners(dimensionConverter.dpToPx(8)) | |||
} | |||
holder.staticMapImageView.updateLayoutParams { | |||
width = mapWidth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Laisser les lignes en commentaire et ajouter un Tchap comment
...rc/main/java/im/vector/app/features/home/room/detail/timeline/item/AbsMessageLocationItem.kt
Show resolved
Hide resolved
...rc/main/java/im/vector/app/features/home/room/detail/timeline/item/AbsMessageLocationItem.kt
Show resolved
Hide resolved
...rc/main/java/im/vector/app/features/home/room/detail/timeline/item/AbsMessageLocationItem.kt
Show resolved
Hide resolved
vector/src/main/java/im/vector/app/features/location/MapRenderer.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Type of change
Content
Motivation and context
Screenshots / GIFs
Tests
Tested devices
Checklist