Show messages in inbox and archive as conversations
Work in progress - detail view not yet adapted, and needs extended encoding for sensible results.
This commit is contained in:
		| @@ -324,8 +324,14 @@ class MainActivity : AppCompatActivity(), ListSelectionListener<Serializable> { | ||||
|             val tag = item.tag | ||||
|             if (tag is Label) { | ||||
|                 currentLabel.value = tag | ||||
|                 if (itemList !is MessageListFragment) { | ||||
|                     changeList(MessageListFragment()) | ||||
|                 if (tag.type == Label.Type.INBOX || tag == LABEL_ARCHIVE) { | ||||
|                     if (itemList !is ConversationListFragment) { | ||||
|                         changeList(ConversationListFragment()) | ||||
|                     } | ||||
|                 } else { | ||||
|                     if (itemList !is MessageListFragment) { | ||||
|                         changeList(MessageListFragment()) | ||||
|                     } | ||||
|                 } | ||||
|                 return false | ||||
|             } else if (item is Nameable<*>) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user