element-x-ada/features
Marco Romano 26eecb33dd
Voice messages: Don't crash if mxc uri is invalid (#1756)
<!-- Please read [CONTRIBUTING.md](https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md) before submitting your pull request -->
 
## Type of change

- [ ] Feature
- [x] Bugfix
- [ ] Technical
- [ ] Other :

## Content

Code now checks whether the mx uri is invalid and handles the error condition properly.

## Motivation and context

https://github.com/vector-im/element-x-android/pull/1748#discussion_r1384557443

## Screenshots / GIFs

<!--
We have screenshot tests in the project, so attaching screenshots to a PR is not mandatory, as far as there
is a Composable Preview covering the changes. In this case, the change will appear in the file diff.
Note that all the UI composables should be covered by a Composable Preview.

Providing a video of the change is still very useful for the reviewer and for the history of the project.

You can use a table like this to show screenshots comparison.
Uncomment this markdown table below and edit the last line `|||`:
|copy screenshot of before here|copy screenshot of after here|

|Before|After|
|-|-|
|||
 -->

## Tests

<!-- Explain how you tested your development -->

- Step 1
- Step 2
- Step ...

## Tested devices

- [ ] Physical
- [ ] Emulator
- OS version(s):

## Checklist

<!-- Depending on the Pull Request content, it can be acceptable if some of the following checkboxes stay unchecked. -->

- [ ] Changes have been tested on an Android device or Android emulator with API 23
- [ ] UI change has been tested on both light and dark themes
- [ ] Accessibility has been taken into account. See https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
- [ ] Pull request is based on the develop branch
- [ ] Pull request includes a new file under ./changelog.d. See https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md#changelog
- [ ] Pull request includes screenshots or videos if containing UI changes
- [ ] Pull request includes a [sign off](https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#sign-off)
- [ ] You've made a self review of your PR
2023-11-08 07:46:00 +01:00
..
analytics Move InfoListOrganism to the new organisms package. 2023-10-04 09:08:57 +02:00
call [Element Call] Keep MatrixClient alive while the call is working (#1695) 2023-10-31 16:58:33 +01:00
createroom Use AsyncView in EditUserProfileView 2023-11-06 10:09:41 +01:00
ftue Remove other useless lazy wrapping. 2023-11-02 16:28:50 +01:00
invitelist Konsist: improve test about no default value for State classes, and fix new detected issues. 2023-10-10 21:42:18 +02:00
leaveroom Konsist: improve test about no default value for State classes, and fix new detected issues. 2023-10-10 21:42:18 +02:00
location Upgrade lint to version 8.3.0-alpha11 and suppress false positive. 2023-11-06 16:03:16 +01:00
lockscreen Use ButtonColumnMolecule 2023-11-07 10:53:21 +01:00
login Merge pull request #1742 from vector-im/sync-localazy 2023-11-06 16:05:01 +01:00
logout FlowStepPage: make onBackClicked nullable and remove canGoBack. 2023-11-07 10:59:22 +01:00
messages Voice messages: Don't crash if mxc uri is invalid (#1756) 2023-11-08 07:46:00 +01:00
networkmonitor Konsist: add test to ensure filename match top level Composable View, and fix existing issue 2023-10-10 15:39:22 +02:00
onboarding Sync Strings from Localazy 2023-10-16 00:09:47 +00:00
poll Progress for LinearProgressIndicator and CircularProgressIndicator are now lambdas. 2023-11-02 14:51:42 +01:00
preferences Merge pull request #1742 from vector-im/sync-localazy 2023-11-06 16:05:01 +01:00
rageshake Merge pull request #1742 from vector-im/sync-localazy 2023-11-06 16:05:01 +01:00
roomdetails Merge pull request #1742 from vector-im/sync-localazy 2023-11-06 16:05:01 +01:00
roomlist Sync Strings from Localazy 2023-11-06 08:23:40 +00:00
securebackup FlowStepPage: make onBackClicked nullable and remove canGoBack. 2023-11-07 10:59:22 +01:00
signedout Sync Strings from Localazy 2023-10-30 14:50:36 +00:00
verifysession Improve confusing text in the 'ready to start verification' screen (#1751) 2023-11-07 14:33:26 +01:00