marinofaggiana 4 年之前
父节点
当前提交
059df20b04
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Main/Colleaction Common/NCCollectionViewCommon.swift

+ 1 - 1
iOSClient/Main/Colleaction Common/NCCollectionViewCommon.swift

@@ -1637,7 +1637,7 @@ extension NCCollectionViewCommon: UICollectionViewDelegateFlowLayout {
         
         if let richWorkspaceText = richWorkspaceText {
             let trimmed = richWorkspaceText.trimmingCharacters(in: .whitespaces)
-            if trimmed.count > 0 {
+            if trimmed.count > 0 && !isSearching {
                 headerRichWorkspaceHeight = UIScreen.main.bounds.size.height / 4
             }
         }