mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
android: move reachable toolbar card above Private notes for the new users (#4633)
This commit is contained in:
+6
-1
@@ -674,7 +674,7 @@ private fun ChatList(chatModel: ChatModel, searchText: MutableState<TextFieldVal
|
||||
}
|
||||
}
|
||||
}
|
||||
if (appPlatform.isAndroid && !oneHandUICardShown.value) {
|
||||
if (appPlatform.isAndroid && !oneHandUICardShown.value && chats.count() > 1) {
|
||||
item {
|
||||
ToggleChatListCard()
|
||||
}
|
||||
@@ -685,6 +685,11 @@ private fun ChatList(chatModel: ChatModel, searchText: MutableState<TextFieldVal
|
||||
} }
|
||||
ChatListNavLinkView(chat, nextChatSelected)
|
||||
}
|
||||
if (appPlatform.isAndroid && !oneHandUICardShown.value && chats.count() <= 1) {
|
||||
item {
|
||||
ToggleChatListCard()
|
||||
}
|
||||
}
|
||||
}
|
||||
if (chats.isEmpty() && chatModel.chats.value.isNotEmpty()) {
|
||||
Box(Modifier.fillMaxSize(), contentAlignment = Alignment.Center) {
|
||||
|
||||
Reference in New Issue
Block a user