Update CHANGES.md and fix code quality
This commit is contained in:
parent
3fa4dbaa25
commit
fe884dba2d
|
@ -8,6 +8,8 @@ Improvements:
|
||||||
- UI for pending edits (#193)
|
- UI for pending edits (#193)
|
||||||
- UX image preview screen transition (#393)
|
- UX image preview screen transition (#393)
|
||||||
- Basic support for resending failed messages (retry/remove)
|
- 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:
|
Other changes:
|
||||||
-
|
-
|
||||||
|
@ -17,6 +19,7 @@ Bugfix:
|
||||||
- Close detail room screen when the room is left with another client (#256)
|
- Close detail room screen when the room is left with another client (#256)
|
||||||
- Clear notification for a room left on another client
|
- Clear notification for a room left on another client
|
||||||
- Fix messages with empty `in_reply_to` not rendering (#447)
|
- Fix messages with empty `in_reply_to` not rendering (#447)
|
||||||
|
- Fix clear cache (#408) and Logout (#205 )
|
||||||
|
|
||||||
Translations:
|
Translations:
|
||||||
-
|
-
|
||||||
|
|
|
@ -20,7 +20,9 @@ import im.vector.matrix.android.api.MatrixCallback
|
||||||
import im.vector.matrix.android.api.util.Cancelable
|
import im.vector.matrix.android.api.util.Cancelable
|
||||||
import java.util.*
|
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()
|
return ConfigurableTask.Builder(this, params).apply(init).build()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue