* Fix long messages not being clickable
As @bmarty found out, `clip = true` causes the click event to be ignored in some cases. Since we have the shape we want to draw and we're using a custom `onDraw` modifier anyway to cut-out part of the path, we can just draw everything using the modifier and avoid using `clip = true`.
This seems to fix the issue.
* Fix clipping of images or other items that cover the bubble
* Fix borders being displayed for contents
* Extract the layer drawing logic into `drawInLayer` to simplify the inlined code. Remove redundant code, those changes are now in the `drawInLayer` block
* Workaround for lint issue: it seems like detekt can't properly detect usages in content receivers
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
- Added `MediaSource.safeUrl` property replacing `withCleanUrl` method.
- Made `url` private so it can't be used externally.
- Reverted code in `CoilMediaFetcher`
- Also add tests
if something else grabs focus mid-recording (phone call, etc), stop
the recording and keep the partial result in preview state instead
of silently recording garbage
Signed-off-by: vmfunc <celeste@linux.com>
separates recording from playback focus - willPausedWhenDucked is false
for recording so notification sounds don't interrupt mid-recording
Signed-off-by: vmfunc <celeste@linux.com>
* Ensure aspect ratio of images in the timeline is restricted
Otherwise, this could cause a crash in Compose since the width and height values could become way too large.
* Update icon shown for world_readable rooms
Followup to #6090: having discussed this in the team, we want to show a
different icon (with different text) for rooms where the history_visibility is
`world_readable` rather than `shared`.
* delint
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
* Iterate on login error: add a cancel button that fully close the flow.
tom
* Fix compilation warning: `Name contains character(s) that can cause problems on Windows: "`
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
* Revert "Add alert to encrypted rooms with visible history (Android). (#5709)"
This reverts commit d0ba02dd7e.
* fix: Restore identity state change preview and snapshot.
Add a decoration to the header for encrypted rooms with `history_visibility:
{shared|public}`.
Fixes: #6070
---------
Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>