bmarty
32d56ea92d
Sync Strings from Localazy
2025-12-01 00:23:54 +00:00
ElementBot
703496e059
Sync Strings from Localazy ( #5782 )
...
Co-authored-by: jmartinesp <480955+jmartinesp@users.noreply.github.com>
2025-11-20 15:25:19 +00:00
Benoit Marty
eb31505dc7
Copyright: Add Element Creations Ltd. copyright
2025-11-10 11:05:05 +01:00
Benoit Marty
f86431e663
Copyright: Add final period
2025-11-10 10:13:41 +01:00
Benoit Marty
c4e0370f41
Copyright: run command uv run license-editor --repository ../element-x-android
2025-11-10 10:09:26 +01:00
Benoit Marty
7ad9c8f687
Rename handleEvents to handleEvent
2025-11-07 12:21:43 +01:00
Benoit Marty
07b6148035
Remove context(parentNode: Node) and provide the parent Node as a parameter.
2025-10-31 12:04:57 +01:00
Benoit Marty
f174084942
Use context parameter for the parentNode
2025-10-30 16:32:53 +01:00
Benoit Marty
02dc71c4c3
Remove NodeBuilder to ensure that Params and Callback are always provided.
2025-10-30 16:32:52 +01:00
Benoit Marty
be03c50aaf
Ensure a Callback and only one is provided in the Plugin. Also reduce boilerplate code in Nodes.
2025-10-30 16:32:51 +01:00
Benoit Marty
43972dba68
Rename fun in Callback for clarity.
2025-10-30 16:32:48 +01:00
Benoit Marty
85035da028
Add unit test on DefaultLockScreenService
2025-10-23 17:20:36 +02:00
Benoit Marty
0284fd22e8
Delete the PIN code only when the last session is deleted.
2025-10-23 16:48:26 +02:00
Benoit Marty
a18eb6eb5e
Add default implementation to SessionListener
2025-10-23 16:48:20 +02:00
Benoit Marty
9ca5fbdc08
Add parameter wasLastSession to SessionListener.onSessionDeleted
2025-10-23 16:20:15 +02:00
Benoit Marty
263e761907
Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding
2025-10-22 18:52:37 +02:00
Benoit Marty
07b9a8456b
Move SemanticColorsLightDark to compound module
2025-10-22 09:35:55 +02:00
Benoit Marty
49c23a922e
Improve API and fix theme glitch when switching between accounts.
2025-10-22 09:32:15 +02:00
ElementBot
a22101150b
Sync Strings ( #5562 )
...
* Sync Strings from Localazy
* Sync strings again
---------
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-10-20 10:04:46 +00:00
Benoit Marty
67c9daa0bf
Add Konsist test to check that toPersistentList() is not used.
...
Same for `toPersistentSet()` and `toPersistentMap()`.
Fix existing issues.
2025-10-08 15:51:18 +02:00
Benoit Marty
22aeac664b
Merge pull request #5420 from element-hq/feature/bma/metroAssistedInject
...
Ensure Metro `@AssistedInject` is used.
2025-09-30 15:39:23 +02:00
Benoit Marty
adb6d91e6e
Remove Progress from splashscreen to follow design requirements.
2025-09-30 12:15:25 +02:00
Benoit Marty
36070c3e2b
loadingNode: hide ProgressIndicator in some cases.
2025-09-30 11:54:43 +02:00
Benoit Marty
fa77166092
No need of DI for the LoadingNode.
2025-09-30 11:50:17 +02:00
ElementBot
95949e615f
Sync Strings from Localazy ( #5427 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-29 15:10:21 +00:00
Benoit Marty
bb11d7d5ae
Fix compilation issue.
2025-09-29 10:06:31 +02:00
Benoit Marty
04563d8ac3
Create a LoadingNode to reduce code duplication.
2025-09-29 09:34:37 +02:00
renovate[bot]
5b9ce7a210
Update metro to v0.6.7 ( #5416 )
...
* Update metro to v0.6.7
* Replace `@Inject` with `@AssistedInject` where needed
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-09-26 08:16:36 +00:00
ElementBot
d64b867f03
Sync Strings from Localazy ( #5385 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-22 11:19:35 +02:00
Benoit Marty
6f06e6a6c3
When logging out from Pin code screen, logout from all the sessions.
2025-09-19 09:53:07 +02:00
Benoit Marty
4d7d0ac8d0
Avoid using AndroidJUnit4 runner to test Entrypoint implementations.
2025-09-16 14:38:32 +02:00
Benoit Marty
cca195a1a5
Add more tests.
2025-09-16 14:38:32 +02:00
Benoit Marty
a1aeb24f23
Add test on DefaultEntryPoints
2025-09-16 14:38:32 +02:00
Benoit Marty
e88743bd6a
Rename anvil modules to annotations and codegen
2025-09-05 14:26:27 +02:00
bmarty
8027ce9dca
Sync Strings from Localazy
2025-09-05 07:44:19 +00:00
Jorge Martín
e8328858ab
Fixes after rebase
2025-09-04 16:49:21 +02:00
Jorge Martín
29a97fc0d9
Fix lint issues and restore commented out code
2025-09-04 16:49:18 +02:00
Jorge Martín
b76a71ebf5
Start migrating Anvil KSP to Metro
2025-09-04 16:48:34 +02:00
ElementBot
02c9549bc0
Sync Strings from Localazy ( #5249 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-01 12:44:49 +02:00
Jorge Martin Espinosa
8245ad8bc3
Handle preference stores corruption by clearing them ( #5086 )
...
* Handle preference stores corruption by clearing them:
- Use the centralised `PreferenceDataStoreFactory` instead of `preferences by`.
- Add `DefaultPreferencesCorruptionHandlerFactory.replaceWithEmpty` to its `create(name)` method so all preference stores are cleared if they're corrupted.
* Add detekt rule to make sure we use `PreferenceDataStoreFactory` instead of `by preferencesDataStore`
* Remove `@SingleIn` annotations as the annotated class no longer have to be singletons
2025-08-22 06:59:06 +00:00
ElementBot
7c40c87d9a
Sync Strings from Localazy ( #5178 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-08-18 11:09:27 +02:00
Benoit Marty
82c86a2b4d
Remove FeatureFlag.NotificationSettings and FeatureFlag.PinUnlock
2025-08-12 16:08:40 +02:00
Benoit Marty
bdcafde2ce
Sync string again
2025-08-04 14:50:08 +02:00
bmarty
ee77c646eb
Sync Strings from Localazy
2025-08-04 00:34:11 +00:00
ElementBot
d9ede0544c
Sync Strings from Localazy ( #4983 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-07-04 14:37:59 +00:00
bmarty
284241a4ec
Sync Strings from Localazy
2025-06-30 00:33:54 +00:00
Benoit Marty
f68b411659
Annotate Composable function with ReadOnlyComposable where it's possible. ( #4859 )
2025-06-11 14:12:54 +02:00
Benoit Marty
5f191d9f9c
Fix coroutine scope ( #4820 )
...
* Inject the session scope instead of the application scope where it's possible.
* Create AppCoroutineScope annotation to let developers explicitly choose the appropriate CoroutineScope when injecting one.
2025-06-04 15:33:51 +00:00
Jorge Martin Espinosa
efdc10e60a
Add catchingExceptions method to replace runCatching ( #4797 )
...
- Add `runCatchingExceptions` and `mapCatchingExceptions` to replace `runCatching` and `mapCatching`.
- Make `tryOrNull { ... }` catch only exceptions too.
- Apply the changes to the whole project.
- Add new Rust fakes for tests to handle the code that's now unblocked - previously it just threw an `UnsatisfiedLinkError` which we ignored.
- Add a new `detekt-rules` project with a `RunCatchingRule` to prevent `runCatching` and `mapCatching` usages.
2025-06-04 09:02:26 +02:00
ElementBot
87c376cfb6
Sync Strings from Localazy ( #4804 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-06-02 12:05:08 +02:00