Benoit Marty
cdf6f48112
Change Test class suffix.
2024-05-30 10:11:18 +02:00
Benoit Marty
ab6c428a61
Fix performance issue reported by Konsist test Sealed interface used in Composable MUST be Immutable or Stable
2024-05-29 18:05:03 +02:00
Benoit Marty
0e4b30e58d
Merge pull request #2941 from element-hq/sync-localazy
...
Sync Strings
2024-05-29 16:27:17 +02:00
Benoit Marty
c6e8628bd9
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
46b6ae6251
Sync Strings from Localazy
2024-05-29 12:44:57 +00:00
Benoit Marty
d37f59c543
Fix small issue introduced in #2924 .
2024-05-29 14:25:57 +02:00
Jorge Martin Espinosa
3d52071c45
Bump Matrix Rust SDK to v0.2.21 and fix conflicts ( #2938 )
2024-05-29 13:12:44 +02:00
Benoit Marty
36102cc90b
Suppress ContentTrailingLambda for AlertDialogContent(
2024-05-29 12:40:14 +02:00
Benoit Marty
919849acc2
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
87689d787e
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
45188aea03
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
801f0b955d
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
edc589b494
Merge pull request #2928 from element-hq/feature/bma/movePushSetting
...
Move push provider setting
2024-05-29 00:29:24 +02:00
Benoit Marty
687b30bd5f
Render data of blocked users (behind deactivated feature flag).
2024-05-28 14:33:21 +02:00
Benoit Marty
306b779ca5
Change type of NotificationSettingsState.currentPushDistributor from AsyncAction to AsyncData
2024-05-28 14:18:00 +02:00
Benoit Marty
25c20f1734
Set the value of currentDistributorName by reading again the value from the service.
2024-05-28 14:08:20 +02:00
Benoit Marty
8cd392a2b8
Merge branch 'develop' into renovate/io.nlopez.compose.rules-detekt-0.x
2024-05-28 08:59:36 +02:00
Benoit Marty
8967b6c959
Merge pull request #2922 from element-hq/feature/bma/iterateOnPreferenceDesign2
...
Iterate on preference design
2024-05-28 00:36:28 +02:00
Benoit Marty
a96351643e
UseLet
2024-05-28 00:14:23 +02:00
Benoit Marty
b32cebf2c0
supportingContent should be null if there is nothing to display.
2024-05-28 00:11:30 +02:00
Benoit Marty
ea93579b23
trailingContent and supportingContent should be null if there is nothing to display.
2024-05-27 17:33:29 +02:00
Benoit Marty
8339a6f1f3
No Composable if subtitle is null
2024-05-27 17:28:17 +02:00
Benoit Marty
8e1b48d3d5
Add preview without subtitle
2024-05-27 17:27:20 +02:00
Benoit Marty
f2317e9aa5
Remove unused parameter.
2024-05-27 17:25:02 +02:00
Marco Antonio Alvarez
873f57399d
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
9065e9d2eb
Merge pull request #2921 from element-hq/sync-localazy
...
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty
bbb44db297
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
Benoit Marty
55824900d2
Fix formatting issue.
2024-05-27 14:19:30 +02:00
Benoit Marty
223d0632cf
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
27e50cf6ad
Merge pull request #2911 from element-hq/feature/bma/reproducibleBuild
...
Reproducible build
2024-05-27 12:46:19 +02:00
Benoit Marty
a57b9cb49f
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
e632168c34
Merge pull request #2900 from element-hq/feature/bma/fakeClassesQuality
...
Fake classes name quality
2024-05-27 12:14:50 +02:00
bmarty
52be64fe73
Sync Strings from Localazy
2024-05-27 00:17:53 +00:00
Benoit Marty
7d3cef33a9
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
12fdc2b6e0
Add public device keys to rageshakes
2024-05-23 17:15:15 +02:00
Jorge Martin Espinosa
cdf6c56f7f
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
c71656df0c
Rename class (code quality)
2024-05-23 14:42:06 +02:00
Benoit Marty
d4d12503c6
Rename class (code quality)
2024-05-23 14:38:52 +02:00
Benoit Marty
d9cfecacce
Rename class (code quality)
2024-05-23 14:38:52 +02:00
Benoit Marty
e3f18f41d6
Rename class (code quality)
2024-05-23 14:38:51 +02:00
Benoit Marty
ab2e620e39
Rename class (code quality)
2024-05-23 14:38:50 +02:00
Benoit Marty
4df6d0c038
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
35e14a3d46
Ignore local errors when unregistering UnifiedPush, to not block switching to another push provider.
2024-05-23 10:29:31 +02:00
Benoit Marty
878df55873
No need to use StandardTestDispatcher
2024-05-23 10:20:58 +02:00
Benoit Marty
593673126f
No need to use advanceTimeBy
2024-05-23 10:19:06 +02:00
Benoit Marty
d275ed9150
Add logs on pusher registration
2024-05-23 09:58:29 +02:00
Benoit Marty
16b04afa1f
Do not fail un-registration if Firebase token is not known. Fixes #2895
2024-05-23 09:53:51 +02:00
Jorge Martín
70188dcdc7
Simplify RegisterUnifiedPushUseCase, fix test
2024-05-23 09:48:32 +02:00
Benoit Marty
3cae2c05c4
Add missing import
2024-05-23 09:34:31 +02:00
Benoit Marty
4fc3c6f889
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