avoid using the Thread menu items before messages load in
This commit is contained in:
parent
2a0a96718a
commit
e0052d5516
|
@ -89,6 +89,10 @@ class ThreadActivity : SimpleActivity() {
|
|||
}
|
||||
|
||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||
if (participants.isEmpty()) {
|
||||
return true
|
||||
}
|
||||
|
||||
when (item.itemId) {
|
||||
R.id.block_number -> blockNumber()
|
||||
R.id.delete -> askConfirmDelete()
|
||||
|
|
Loading…
Reference in New Issue