Commit Graph

2593 Commits

Author SHA1 Message Date
Benoit Marty f5a0e83cb2 Merge pull request #2941 from element-hq/sync-localazy
Sync Strings
2024-05-29 16:27:17 +02:00
Benoit Marty 72c51666e0 Merge pull request #2936 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.4.3
2024-05-29 15:25:34 +02:00
bmarty ca5bc71057 Sync Strings from Localazy 2024-05-29 12:44:57 +00:00
Benoit Marty 8c3bb043ab Fix small issue introduced in #2924. 2024-05-29 14:25:57 +02:00
Jorge Martin Espinosa a1adc7476d Bump Matrix Rust SDK to v0.2.21 and fix conflicts (#2938) 2024-05-29 13:12:44 +02:00
Benoit Marty c6f4c9e12a Suppress ContentTrailingLambda for AlertDialogContent( 2024-05-29 12:40:14 +02:00
Benoit Marty e97e21e785 Move content @Composable to the end of the parameter list.
A @Composable `content` parameter should be moved to be the trailing lambda in a composable function.
2024-05-29 12:38:14 +02:00
Benoit Marty 37d9a9f5a9 Lambda parameters in a composable function should be in present tense, not past tense.
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
ganfra 3080dac220 Merge pull request #2635 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.4.0
2024-05-29 10:06:37 +02:00
Jorge Martin Espinosa 04e503177b Notifications: simplify the flow by removing persistence (#2924)
* Notifications: simplify the flow by removing persistence. 
* Bump of minSdk to `24` (Android 7).
* Add migration to remove `notification.bin` file
2024-05-29 08:03:23 +00:00
Benoit Marty 17678add86 Merge pull request #2928 from element-hq/feature/bma/movePushSetting
Move push provider setting
2024-05-29 00:29:24 +02:00
Benoit Marty 643acb17b6 Render data of blocked users (behind deactivated feature flag). 2024-05-28 14:33:21 +02:00
Benoit Marty 9a24e7d4af Change type of NotificationSettingsState.currentPushDistributor from AsyncAction to AsyncData 2024-05-28 14:18:00 +02:00
Benoit Marty 3349df5a24 Set the value of currentDistributorName by reading again the value from the service. 2024-05-28 14:08:20 +02:00
Benoit Marty 683f7d4748 Merge branch 'develop' into renovate/io.nlopez.compose.rules-detekt-0.x 2024-05-28 08:59:36 +02:00
Benoit Marty d0b2233a7b Merge pull request #2922 from element-hq/feature/bma/iterateOnPreferenceDesign2
Iterate on preference design
2024-05-28 00:36:28 +02:00
Benoit Marty 414e2bb3f1 UseLet 2024-05-28 00:14:23 +02:00
Benoit Marty 79057678d7 supportingContent should be null if there is nothing to display. 2024-05-28 00:11:30 +02:00
Benoit Marty f743934e0f trailingContent and supportingContent should be null if there is nothing to display. 2024-05-27 17:33:29 +02:00
Benoit Marty ef4cf42b71 No Composable if subtitle is null 2024-05-27 17:28:17 +02:00
Benoit Marty cf057310b4 Add preview without subtitle 2024-05-27 17:27:20 +02:00
Benoit Marty 8eeb95e867 Remove unused parameter. 2024-05-27 17:25:02 +02:00
Marco Antonio Alvarez a9835e0dd1 Add rich content listener to markdown text input (#2918)
* add rich content listener to markdown text input

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-05-27 16:36:32 +02:00
Benoit Marty 3a39e2a3ec Merge pull request #2921 from element-hq/sync-localazy
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty b3e0f6e843 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +02:00
Benoit Marty e74f82b640 Fix formatting issue. 2024-05-27 14:19:30 +02:00
Benoit Marty b30076ecca Fix test by making the whole ListItem clickable.
Also improve height of View to let the test see the View.
2024-05-27 13:51:18 +02:00
Benoit Marty 436a876317 Merge pull request #2911 from element-hq/feature/bma/reproducibleBuild
Reproducible build
2024-05-27 12:46:19 +02:00
Benoit Marty 34f7819702 Let Preference composables use ListItem.
Let PreferenceCheckbox use ListItem and add missing previews.
Let PreferenceCategory use ListSectionHeader
Let PreferenceSlide use ListItem
Let PreferenceRow use ListItem
Let PreferenceText use ListItem
2024-05-27 12:19:10 +02:00
Benoit Marty afa90b827f Merge pull request #2900 from element-hq/feature/bma/fakeClassesQuality
Fake classes name quality
2024-05-27 12:14:50 +02:00
bmarty f24e537580 Sync Strings from Localazy 2024-05-27 00:17:53 +00:00
Benoit Marty 3c3703cba3 Read versionCode from the Manifest, since BuildConfig.VERSION_CODE does not contain the correct last digit. 2024-05-24 15:06:47 +02:00
Valere bd73f31f97 Add public device keys to rageshakes 2024-05-23 17:15:15 +02:00
Jorge Martin Espinosa 72ab632233 Restore MarkdownTextInput contents (#2902)
* Restore `MarkdownTextInput` contents: create a `MarkdownTextInputStateSaver` and use it to save and restore the text and selection.

* Add default text flags to the markdown composer
2024-05-23 14:59:08 +02:00
Benoit Marty 7911fda1fa Rename class (code quality) 2024-05-23 14:42:06 +02:00
Benoit Marty 6f44ef7a8f Rename class (code quality) 2024-05-23 14:38:52 +02:00
Benoit Marty 6fe461f346 Rename class (code quality) 2024-05-23 14:38:52 +02:00
Benoit Marty 6e4c9d3171 Rename class (code quality) 2024-05-23 14:38:51 +02:00
Benoit Marty 8215661ada Rename class (code quality) 2024-05-23 14:38:50 +02:00
Benoit Marty 85c8a26f8a Merge pull request #2901 from element-hq/feature/bma/fixUnregisteringPusherLocalError
Fix unregistering pusher local error
2024-05-23 14:38:07 +02:00
Benoit Marty 3796def1c9 Ignore local errors when unregistering UnifiedPush, to not block switching to another push provider. 2024-05-23 10:29:31 +02:00
Benoit Marty 788d9e0631 No need to use StandardTestDispatcher 2024-05-23 10:20:58 +02:00
Benoit Marty b716482e43 No need to use advanceTimeBy 2024-05-23 10:19:06 +02:00
Benoit Marty d066f03eab Add logs on pusher registration 2024-05-23 09:58:29 +02:00
Benoit Marty ce23135e4a Do not fail un-registration if Firebase token is not known. Fixes #2895 2024-05-23 09:53:51 +02:00
Jorge Martín 0639bc6a5b Simplify RegisterUnifiedPushUseCase, fix test 2024-05-23 09:48:32 +02:00
Benoit Marty b8b66b3570 Add missing import 2024-05-23 09:34:31 +02:00
Benoit Marty f04253287f Introduce lambdaError instead of using TODO, to handle error when a lambda is invoked and it should not. 2024-05-23 09:12:40 +02:00
Benoit Marty c71c491302 Clean up 2024-05-23 00:26:28 +02:00
Benoit Marty cf3b2bba91 Add test on isRelevant 2024-05-23 00:20:24 +02:00