placeholders looking good and sync page sizes with android

This commit is contained in:
Diogo
2024-11-06 15:25:10 +00:00
parent 9b6365ca88
commit 9155a2f02a
4 changed files with 11 additions and 9 deletions
+2 -2
View File
@@ -318,8 +318,8 @@ private func apiChatsResponse(_ r: ChatResponse) throws -> [ChatData] {
throw r
}
let loadItemsPerPage = 50
let preloadItem = 8
let loadItemsPerPage = 100
let preloadItem = 25
let idealChatListSize = 500
func apiGetChat(type: ChatType, id: Int64, search: String = "") async throws -> (Chat, Int?) {