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.
5 months ago
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
5 months ago
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
5 months ago
Benoit Marty
643acb17b6
Render data of blocked users (behind deactivated feature flag).
5 months ago
Benoit Marty
9a24e7d4af
Change type of `NotificationSettingsState.currentPushDistributor` from `AsyncAction` to `AsyncData`
5 months ago
Benoit Marty
3349df5a24
Set the value of `currentDistributorName` by reading again the value from the service.
5 months ago
Benoit Marty
414e2bb3f1
UseLet
5 months ago
Benoit Marty
79057678d7
supportingContent should be null if there is nothing to display.
5 months ago
Benoit Marty
f743934e0f
trailingContent and supportingContent should be null if there is nothing to display.
5 months ago
Benoit Marty
ef4cf42b71
No Composable if subtitle is null
5 months ago
Benoit Marty
cf057310b4
Add preview without subtitle
5 months ago
Benoit Marty
8eeb95e867
Remove unused parameter.
5 months ago
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>
5 months ago
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
5 months ago
Benoit Marty
e74f82b640
Fix formatting issue.
5 months ago
Benoit Marty
b30076ecca
Fix test by making the whole ListItem clickable.
...
Also improve height of View to let the test see the View.
5 months ago
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
5 months ago
bmarty
f24e537580
Sync Strings from Localazy
5 months ago
Benoit Marty
3c3703cba3
Read versionCode from the Manifest, since `BuildConfig.VERSION_CODE` does not contain the correct last digit.
5 months ago
Valere
bd73f31f97
Add public device keys to rageshakes
5 months ago
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
5 months ago
Benoit Marty
7911fda1fa
Rename class (code quality)
5 months ago
Benoit Marty
6f44ef7a8f
Rename class (code quality)
5 months ago
Benoit Marty
6fe461f346
Rename class (code quality)
5 months ago
Benoit Marty
6e4c9d3171
Rename class (code quality)
5 months ago
Benoit Marty
8215661ada
Rename class (code quality)
5 months ago
Benoit Marty
3796def1c9
Ignore local errors when unregistering UnifiedPush, to not block switching to another push provider.
5 months ago
Benoit Marty
788d9e0631
No need to use StandardTestDispatcher
5 months ago
Benoit Marty
b716482e43
No need to use advanceTimeBy
5 months ago
Benoit Marty
d066f03eab
Add logs on pusher registration
5 months ago
Benoit Marty
ce23135e4a
Do not fail un-registration if Firebase token is not known. Fixes #2895
5 months ago
Jorge Martín
0639bc6a5b
Simplify `RegisterUnifiedPushUseCase`, fix test
5 months ago
Benoit Marty
b8b66b3570
Add missing import
5 months ago
Benoit Marty
f04253287f
Introduce lambdaError instead of using TODO, to handle error when a lambda is invoked and it should not.
5 months ago
Benoit Marty
c71c491302
Clean up
5 months ago
Benoit Marty
cf3b2bba91
Add test on isRelevant
5 months ago
Benoit Marty
4e7f5c46b8
Refactor: change signature to always have `clientSecret` first, since it's acting as a key.
5 months ago
Benoit Marty
0a2d87f6b1
Add test on DefaultUnregisterUnifiedPushUseCase
5 months ago
Benoit Marty
02fa405b8e
Add test on UnifiedPushTest.isRelevant
5 months ago
Benoit Marty
f974cdd12a
Add test on DefaultUnifiedPushNewGatewayHandler
5 months ago
Benoit Marty
f304c1f65a
Add test on DefaultRegisterUnifiedPushUseCase
5 months ago
Benoit Marty
50b7f2c2c1
Add test on VectorUnifiedPushMessagingReceiver
5 months ago
Benoit Marty
09b2b2c476
Create interface UnifiedPushNewGatewayHandler
5 months ago
Benoit Marty
738bb831fa
Create interface UnifiedPushGatewayResolver
5 months ago
Benoit Marty
5c68956e6c
Fix test on `VectorFirebaseMessagingService`
5 months ago
Benoit Marty
b38c144f46
Add test on DefaultFirebaseNewTokenHandler
5 months ago
Benoit Marty
90a14ce056
Change to lambda
5 months ago
Benoit Marty
eafa713995
Add test on VectorFirebaseMessagingService
5 months ago
Benoit Marty
b2a3b9653e
Add test on DefaultPushHandler
5 months ago
Benoit Marty
5b074dc0ba
Create interface for NotifiableEventResolver
5 months ago