mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 11:59:12 +03:00
Update CHANGES.md and fix code quality
This commit is contained in:
parent
3fa4dbaa25
commit
fe884dba2d
2 changed files with 6 additions and 1 deletions
|
@ -8,6 +8,8 @@ Improvements:
|
|||
- UI for pending edits (#193)
|
||||
- UX image preview screen transition (#393)
|
||||
- Basic support for resending failed messages (retry/remove)
|
||||
- Enable proper cancellation of suspending functions (including db transaction)
|
||||
- Enhances network connectivity checks in SDK
|
||||
|
||||
Other changes:
|
||||
-
|
||||
|
@ -17,6 +19,7 @@ Bugfix:
|
|||
- Close detail room screen when the room is left with another client (#256)
|
||||
- Clear notification for a room left on another client
|
||||
- Fix messages with empty `in_reply_to` not rendering (#447)
|
||||
- Fix clear cache (#408) and Logout (#205 )
|
||||
|
||||
Translations:
|
||||
-
|
||||
|
|
|
@ -20,7 +20,9 @@ import im.vector.matrix.android.api.MatrixCallback
|
|||
import im.vector.matrix.android.api.util.Cancelable
|
||||
import java.util.*
|
||||
|
||||
internal fun <PARAMS, RESULT> Task<PARAMS, RESULT>.configureWith(params: PARAMS, init: (ConfigurableTask.Builder<PARAMS, RESULT>.() -> Unit) = {}): ConfigurableTask<PARAMS, RESULT> {
|
||||
internal fun <PARAMS, RESULT> Task<PARAMS, RESULT>.configureWith(params: PARAMS,
|
||||
init: (ConfigurableTask.Builder<PARAMS, RESULT>.() -> Unit) = {}
|
||||
): ConfigurableTask<PARAMS, RESULT> {
|
||||
return ConfigurableTask.Builder(this, params).apply(init).build()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue