Benoit Marty
3c07fea2dd
Improve rendering of Text composer regarding fontScale. ( #984 )
1 year ago
Benoit Marty
3c1f764bee
Improve rendering of "All chats" regarding fontScale. ( #984 )
1 year ago
Benoit Marty
94c6223be2
Set expicit `fontSize` parameter (to default value 1f), to test different fontScale more easily.
1 year ago
Jorge Martin Espinosa
914235228d
[Compound] Implement platform components (Switch, RadioButton, Checkbox) ( #982 )
...
* Create our custom Switch component
* Update RadioButton colors
* Update Checkbox colors
* Fix padding in `ReplyToContent`
* Add `indeterminate` and `hasError` parameters to `CheckBox`.
Improve previews.
* Improve Switch previews.
* Improve RadioButton previews.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
2da6ceeb5f
Previous code was `throw IllegalStateException()`, so keep the existing error, even if it should never happen, being compliant with `UseCheckOrError` detekt rule.
1 year ago
Benoit Marty
8f4b664158
Sync strings.
1 year ago
Benoit Marty
56614da071
Fix lint false positive.
1 year ago
Benoit Marty
3c0a81c416
Ignore unused integer resources.
1 year ago
Benoit Marty
4cdc0c1280
Ignore unused generated resource for Firebase.
1 year ago
Benoit Marty
908471cd51
Remove other unused resource.
1 year ago
Benoit Marty
40bbf1970c
Remove unused strings.
1 year ago
Benoit Marty
bbf8a86524
Remove unused drawables.
1 year ago
Jorge Martin Espinosa
dbec1a0a60
Improve fetch members performance, relax regexes for validating ids ( #964 )
...
* Fetched `RoomMembers` are mapped in parallel
* Add horizontal padding to room/user name in room details screen
* Relax User & Event id regex matches
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Jorge Martin Espinosa
05f7037939
Prepare update to Rust SDK 0.1.36 ( #966 )
...
* Update to Rust SDK 0.1.36
* Cancel fetching members when the we exit the room
1 year ago
Benoit Marty
9211a33ad8
Add missing preview.
1 year ago
Benoit Marty
495d6020ad
Enable detekt rules `UseLet` and fix existing issues.
1 year ago
Benoit Marty
b8281052b9
Enable detekt rules `UseDataClass` and fix existing issues.
1 year ago
Benoit Marty
b3cf0d2cf1
Enable detekt rules `UnderscoresInNumericLiterals` and fix existing issues.
1 year ago
Benoit Marty
f7536a5450
Enable more detekt rules and remove unused extension.
1 year ago
Benoit Marty
1354ec76c9
Enable detekt rules `DataClassShouldBeImmutable` and fix existing issues.
1 year ago
Benoit Marty
19e81825ff
Enable detekt rules `AlsoCouldBeApply` and fix existing issues.
1 year ago
Benoit Marty
e0255777c0
Enable detekt rules `CascadingCallWrapping` and fix existing issues.
1 year ago
Benoit Marty
bd0031445e
Enable detekt rule `TooGenericExceptionThrown` and fix existing issue.
1 year ago
Benoit Marty
b5a5118160
Enable detekt rule `ThrowingExceptionsWithoutMessageOrCause` and fix existing issues.
1 year ago
Benoit Marty
73347deaaf
Enable detekt rule `UseCheckOrError` and fix existing issues (and a potential crash on MapboxMap?).
1 year ago
Benoit Marty
3f372e5804
Enable detekt rule `ImplicitDefaultLocale` and fix existing issue.
1 year ago
Benoit Marty
6aa5239189
Enable detekt rule `PreviewPublic` and fix existing issues.
1 year ago
ganfra
506b473d4d
Small change after PR review
1 year ago
ganfra
e0eea67e7a
Clean PR
1 year ago
ganfra
e35bb73a86
Rework some MatrixRoom api and fix rust 'destroyed' crash
1 year ago
Benoit Marty
a6c96af731
Use ConcurrentHashMap to manage synchronization.
1 year ago
Benoit Marty
832fd69153
Use an AtomicBoolean instead of a MutableStateFlow to atomically init the RustMatrixRoom. Should improve #951 .
1 year ago
Benoit Marty
4029425ec3
Fix regression from 9bf7c1ccf8
, composition log was not correct.
1 year ago
Benoit Marty
a2975ec094
Add a test to cover fix of #950
1 year ago
Benoit Marty
94bc2ce53d
getOrPut is not thread safe, so ensure that no multiple instance will be created per data store ( #950 )
1 year ago
Benoit Marty
4312a96851
Cleanup: there are no androidTest on those modules.
1 year ago
bmarty
af2159e98f
Sync Strings from Localazy
1 year ago
ganfra
a3bcb2c4ca
Room: avoid calling displayName/avatarData on each recomposition
1 year ago
ganfra
5089dd0dda
Session.getRoom : suspend the whole method
1 year ago
ganfra
0a59e974ae
Deadlock: makes sure timelineListener TaskHandle.cancel is called (and memory is released correctly)
1 year ago
ganfra
1583899261
Introduce Disposable extension to destroy all disposable in an Iterable
1 year ago
Benoit Marty
e1a113e938
Enable LocationSharing flag for the release.
1 year ago
Benoit Marty
2c11f472ca
Replace FeatureFlags.ShowMediaUploadingFlow by FeatureFlags.LocationSharing because it has more chance to be disabled.
...
I do not want to remove all our feature flags...
1 year ago
Benoit Marty
fd26f987a8
Remove feature flag ShowStartChatFlow. It was just used in test.
1 year ago
Benoit Marty
da818229dc
Remove feature flag CollapseRoomStateEvents. It was not used anyway.
1 year ago
Benoit Marty
1be26c9fad
Fix compilation issue
1 year ago
Benoit Marty
c75eabbcb0
Enable detekt rules `UnnecessaryParentheses` and cleanup the code.
1 year ago
Benoit Marty
2928073e22
Enable detekt rules `UnusedImports` and cleanup the code.
1 year ago
Benoit Marty
86756dbc09
Enable detekt rules `UnusedParameter` and `UnusedPrivateProperty` and cleanup the code.
1 year ago
Benoit Marty
24ece8c454
Enable detekt rule `UnusedPrivateMember` and cleanup the code.
1 year ago