Small adjustments

This commit is contained in:
Ali
2022-12-31 14:52:27 +04:00
parent 41cbce1cc9
commit b41aa0fd05
6 changed files with 51 additions and 42 deletions

View File

@@ -1341,7 +1341,7 @@ public final class ChatListNode: ListView {
}
let storageInfo: Signal<Double?, NoError>
if case .chatList(groupId: .root) = location, chatListFilter == nil {
if "".isEmpty, case .chatList(groupId: .root) = location, chatListFilter == nil {
let storageBox = context.account.postbox.mediaBox.storageBox
storageInfo = storageBox.totalSize()
|> take(1)