Skip to content
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

Ensure mapbox legal mention are displayed on the map #5062

Merged
merged 3 commits into from
Jan 27, 2022

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented Jan 25, 2022

We should not hide the legal mention at bottom left of the map.

Before After
image image

Note: The legal mention is correctly displayed in the timeline, in the message bottom sheet and in the location message detail.

@bmarty bmarty requested a review from onurays January 25, 2022 23:28
@github-actions
Copy link

github-actions bot commented Jan 26, 2022

Unit Test Results

  72 files  ±0    72 suites  ±0   55s ⏱️ -6s
141 tests ±0  141 ✔️ ±0  0 💤 ±0  0 ±0 
440 runs  ±0  440 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 62a554b. ± Comparison against base commit 38a6c3e.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jan 26, 2022

Matrix SDK

Integration Tests Results:

  • [org.matrix.android.sdk.session]
    passed="21" failures="0" errors="0" skipped="2"
  • [org.matrix.android.sdk.account]
    passed="5" failures="0" errors="0" skipped="2"
  • [org.matrix.android.sdk.internal]
    passed="158" failures="1" errors="0" skipped="38"
  • [org.matrix.android.sdk.ordering]
    passed="16" failures="0" errors="0" skipped="0"
  • [org.matrix.android.sdk.PermalinkParserTest]
    passed="2" failures="0" errors="0" skipped="0"

@ouchadam
Copy link
Contributor

great catch!

@@ -7,7 +7,9 @@
<im.vector.app.features.location.MapTilerMapView
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a blocker, something I noticed in the file layout - we could flatten the nested constraint layouts by using a Group with a background for the bottom bar

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, Using a Flow is better. 6107fb6

android:id="@+id/shareLocationContainer"
android:layout_width="0dp"
android:layout_height="72dp"
android:background="?android:colorBackground"
android:paddingStart="@dimen/layout_horizontal_margin"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

16dp, was 12dp before, more compliant with the guidelines.

Copy link
Contributor

@onurays onurays left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thank you!

@bmarty bmarty merged commit ff6810f into develop Jan 27, 2022
@bmarty bmarty deleted the feature/bma/location_sharing_fix branch January 27, 2022 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants