Skip to content

Commit

Permalink
ktlintFormat
Browse files Browse the repository at this point in the history
Signed-off-by: sowjanyakch <[email protected]>
  • Loading branch information
sowjanyakch committed Oct 28, 2024
1 parent 602bbe1 commit af19696
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -657,11 +657,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 -> {

}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit af19696

Please sign in to comment.