瀏覽代碼

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 年之前
父節點
當前提交
a2c2bc5906
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Data/NCDataSource.swift

+ 1 - 1
iOSClient/Data/NCDataSource.swift

@@ -87,7 +87,7 @@ class NCDataSource: NSObject {
                 }
             }
             self.sectionsValue.removeAll()
-            let sectionsDictionarySorted = sectionsDictionary.sorted(by: { $0.value > $1.value } )
+            let sectionsDictionarySorted = sectionsDictionary.sorted(by: { $0.value < $1.value } )
             for section in sectionsDictionarySorted {
                 if section.key == NCGlobal.shared.appName {
                     self.sectionsValue.insert(section.key, at: 0)