Code review fixes.

This commit is contained in:
onurays 2020-06-29 06:38:58 +03:00 committed by Benoit Marty
parent 16bd642ae8
commit e0e4cf3df1
2 changed files with 7 additions and 7 deletions

View File

@ -106,7 +106,7 @@ internal class DefaultProfileService @Inject constructor(private val taskExecuto
val result = WorkerParamsFactory.fromData<UploadAvatarWorker.OutputParams>(info.outputData)
cancelableBag.add(
setAvatarUrlTask
.configureWith(SetAvatarUrlTask.Params(userId = userId, newAvatarUrl = result?.imageUrl!!)) {
.configureWith(SetAvatarUrlTask.Params(userId = userId, newAvatarUrl = result!!.imageUrl!!)) {
callback = matrixCallback
}
.executeBy(taskExecutor)

View File

@ -484,9 +484,9 @@ class VectorSettingsGeneralFragment : VectorSettingsBaseFragment(), AvatarSelect
})
}
// ==============================================================================================================
// contacts management
// ==============================================================================================================
// ==============================================================================================================
// contacts management
// ==============================================================================================================
private fun setContactsPreferences() {
/* TODO
@ -519,9 +519,9 @@ class VectorSettingsGeneralFragment : VectorSettingsBaseFragment(), AvatarSelect
*/
}
// ==============================================================================================================
// Phone number management
// ==============================================================================================================
// ==============================================================================================================
// Phone number management
// ==============================================================================================================
/**
* Refresh phone number list