Benoit Marty
eb51b49aef
Always use the latest... fix.
2024-01-23 18:13:33 +01:00
Benoit Marty
3ced570b3c
Fix detekt issue:
...
Lambda parameters in a @Composable that are referenced directly inside of restarting effects can cause issues or unpredictable behavior.
If restarting the effect is ok, you can add the reference to this parameter as a key in that effect, so when the parameter changes, a new effect is created.
However, if the effect is not to be restarted, you will need to use `rememberUpdatedState` on the parameter and use its result in the effect.
See https://mrmans0n.github.io/compose-rules/rules/#be-mindful-of-the-arguments-you-use-inside-of-a-restarting-effect for more information. [LambdaParameterInRestartableEffect]
2024-01-23 18:13:33 +01:00
ElementBot
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty
5d086ad82d
Fix moar ktlint issues
2024-01-11 10:02:10 +01:00
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
bmarty
e6f4a7364f
Sync Strings from Localazy
2023-12-26 09:39:48 +01:00
ganfra
c4dc024c63
Fix detekt
2023-12-19 12:59:13 +01:00
ganfra
78bd6915c7
BackstackParentNode now become BaseFlowNode and adds Overlay navModel into it.
2023-12-19 12:55:14 +01:00
Benoit Marty
39cca2ce09
Sync localazy using fixed script
2023-12-08 19:24:35 +01:00
Benoit Marty
b98351ec36
Merge pull request #1952 from vector-im/sync-localazy
...
Sync Strings
2023-12-05 13:47:44 +01:00
Benoit Marty
24d3981261
Run the script again.
2023-12-05 12:25:59 +01:00
Benoit Marty
dfa5ee028b
Fix small error
2023-12-04 15:47:20 +01:00
Benoit Marty
fa590202c3
Add Konsist test to check that assertThat is imported, and fix existing issues.
2023-12-04 15:18:01 +01:00
bmarty
fced91addb
Sync Strings from Localazy
2023-12-04 00:09:56 +00:00
Jorge Martin Espinosa
087d2728d5
Extract compound tokens and theming to compound-android library ( #1888 )
...
* Replace tokens & icons with the external Compound ones
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-27 10:30:07 +01:00
Benoit Marty
a0699f0cc2
Use icon from Compound and ensure the size is 20.dp
2023-11-09 15:16:20 +01:00
Benoit Marty
81a745871f
Onboarding iteration #1776
2023-11-09 15:03:45 +01:00
ganfra
ffcb1bd67b
Update features/ftue/impl/src/test/kotlin/io/element/android/features/ftue/impl/DefaultFtueStateTests.kt
...
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-11-08 12:54:25 +01:00
ganfra
04afa8c200
LockScreen : fix one more navigation issue
2023-11-07 18:22:40 +01:00
ganfra
5a417ba498
LockScreen : refact some code and add secureFlag
2023-11-07 15:55:53 +01:00
Benoit Marty
f6d7a014a7
Remove other useless lazy wrapping.
2023-11-02 16:28:50 +01:00
ganfra
ca6a30d6cc
PIN : fix quality
2023-10-26 15:25:40 +02:00
ganfra
e864871c0e
PIN : Fix test compilation
2023-10-26 13:10:25 +02:00
ganfra
2cb0addd3e
PIN: add callback on LockScreenEntryPoint
2023-10-25 11:27:19 +02:00
ganfra
f1988e3093
PIN : branch the mandatory flow
2023-10-24 18:13:41 +02:00
bmarty
586a53653d
Sync Strings from Localazy
2023-10-16 00:09:47 +00:00
Benoit Marty
af6dcadd4a
Move InfoListOrganism to the new organisms package.
2023-10-04 09:08:57 +02:00
bmarty
7e3b9d8d3b
Sync Strings from Localazy
2023-10-02 00:09:47 +00:00
bmarty
c72bb92ef2
Sync Strings from Localazy
2023-09-25 00:09:17 +00:00
bmarty
a7ce12d91d
Sync Strings from Localazy
2023-09-21 15:51:21 +00:00
Benoit Marty
0255ec6771
Merge pull request #1400 from vector-im/feature/bma/fixCrashPhoto
...
Fix crash when user wants to use the camera
2023-09-21 16:31:36 +02:00
Benoit Marty
d19b624c6f
Rename Event for clarity
2023-09-21 15:33:03 +02:00
Benoit Marty
08b455afd3
Create FakePermissionsPresenterFactory, to reduce boilerplate.
2023-09-21 12:54:15 +02:00
Benoit Marty
f3456cafa7
Rename Event for clarity
2023-09-21 11:29:29 +02:00
Benoit Marty
31eca73e8d
Request Camera permission before launching the external Camera app ( #1395 )
2023-09-21 10:54:02 +02:00
Benoit Marty
0e4c146e87
Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty
d531e71cd8
Migrate other icons to compound icons.
2023-09-20 16:44:59 +02:00
jonnyandrew
ee8d27e927
[Rich text editor] Add link functionality to rich text editor ( #1309 )
...
* Add link functionality to rich text editor
* Add 'list dialog' component compound design library
* Add 'text field list item' component to compound design library
2023-09-19 11:20:07 +00:00
Benoit Marty
0453ea5904
Localazy sync
2023-09-18 16:42:35 +02:00
bmarty
d2f9b02bbf
Sync Strings from Localazy
2023-09-18 00:09:19 +00:00
ganfra
b382993cbb
Sync Strings from Localazy
2023-09-14 14:38:49 +00:00
Marco Romano
7fdd83bf91
GRemove the @JvmField annotation whenever using WarmUpRule.
2023-09-13 15:19:26 +02:00
Benoit Marty
72497b584d
Now that we use a cache, there is no need to provide AvatarColors to the Avatar composable.
2023-09-11 10:55:26 +02:00
Benoit Marty
f8b630ecb2
Implement a in-memory cache for user avatar colors.
2023-09-11 10:55:26 +02:00
Benoit Marty
046453170c
Add @OptIn(ExperimentalCoroutinesApi::class)
...
Fix warning on runCurrent()
2023-09-11 10:55:26 +02:00
Jorge Martin Espinosa
33457e9c58
Make sure notification permission screen is dismissed ( #1263 )
...
* Make sure notification permission screen is dismissed
2023-09-11 07:54:44 +02:00
jonnyandrew
9e5b46200b
Reduce test flakiness by warming up molecule tests ( #1226 )
2023-09-06 10:08:21 +00:00
Jorge Martin Espinosa
cfdccc904e
Replace notification permission dialog with a screen ( #1223 )
...
* Replace notification permission dialog with a screen
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-05 18:58:05 +02:00
jmartinesp
74b2ddebfd
Sync Strings from Localazy
2023-09-05 06:37:36 +00:00
Benoit Marty
5f7c1e9545
Move module features.analytics.test to services.analytics.test. FakeAnalyticsService was not implemented at the correct location.
2023-08-28 14:31:36 +02:00