ktlintFormat

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2024-10-27 17:04:14 +01:00 committed by Marcel Hibbe
parent 9df91b6e74
commit f6489eb10d
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B
2 changed files with 7 additions and 5 deletions

View file

@ -660,11 +660,13 @@ class ConversationInfoActivity :
startActivity(intent)
}
WorkInfo.State.FAILED -> {
Toast.makeText(context, R.string.nc_last_moderator_leaving_room_warning, Toast.LENGTH_LONG).show()
Toast.makeText(
context,
R.string.nc_last_moderator_leaving_room_warning,
Toast.LENGTH_LONG
).show()
}
else -> {
}
}
}

View file

@ -53,13 +53,13 @@ class LeaveConversationWorker(context: Context, workerParams: WorkerParameters)
val apiVersion = getConversationApiVersion(currentUser, intArrayOf(ApiUtils.API_V4, 1))
ncApi.removeSelfFromRoom(
credentials, getUrlForParticipantsSelf(apiVersion, currentUser.baseUrl, conversationToken)
credentials,
getUrlForParticipantsSelf(apiVersion, currentUser.baseUrl, conversationToken)
)
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(object : Observer<GenericOverall?> {
override fun onSubscribe(d: Disposable) {
}
override fun onNext(p0: GenericOverall) {