mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Close qk reply when there are no messages
This commit is contained in:
@@ -106,6 +106,10 @@ class QkReplyActivity : QkThemedActivity<QkReplyViewModel>(), QkReplyView {
|
||||
}
|
||||
|
||||
override fun render(state: QkReplyState) {
|
||||
if (state.hasError) {
|
||||
finish()
|
||||
}
|
||||
|
||||
threadId.onNext(state.data?.first?.id ?: 0)
|
||||
|
||||
title = state.title
|
||||
|
||||
Reference in New Issue
Block a user