mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-14 16:25:05 +01:00
format
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
9fbb3886ab
commit
7a63a645fe
@ -98,7 +98,6 @@ class SetStatusDialogFragment :
|
|||||||
private lateinit var popup: EmojiPopup
|
private lateinit var popup: EmojiPopup
|
||||||
private var isBackupStatusAvailable = false
|
private var isBackupStatusAvailable = false
|
||||||
|
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
lateinit var ncApi: NcApi
|
lateinit var ncApi: NcApi
|
||||||
|
|
||||||
@ -285,7 +284,10 @@ class SetStatusDialogFragment :
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun revertStatus() {
|
override fun revertStatus() {
|
||||||
ncApi.revertStatus(credentials, ApiUtils.getUrlForRevertStatus(currentUser?.baseUrl!!, currentStatus?.messageId))
|
ncApi.revertStatus(
|
||||||
|
credentials,
|
||||||
|
ApiUtils.getUrlForRevertStatus(currentUser?.baseUrl!!, currentStatus?.messageId)
|
||||||
|
)
|
||||||
.subscribeOn(Schedulers.io())
|
.subscribeOn(Schedulers.io())
|
||||||
.observeOn(AndroidSchedulers.mainThread())
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
.subscribe(object : Observer<GenericOverall> {
|
.subscribe(object : Observer<GenericOverall> {
|
||||||
@ -316,8 +318,6 @@ class SetStatusDialogFragment :
|
|||||||
override fun onComplete() {
|
override fun onComplete() {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun setupGeneralStatusOptions() {
|
private fun setupGeneralStatusOptions() {
|
||||||
|
Loading…
Reference in New Issue
Block a user