Browse Source

internal fix

marinofaggiana 4 năm trước cách đây
mục cha
commit
f9932f603b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      iOSClient/Data/NCManageDatabase.swift

+ 1 - 0
iOSClient/Data/NCManageDatabase.swift

@@ -1798,6 +1798,7 @@ class NCManageDatabase: NSObject {
                 if let result = realm.objects(tableMetadata.self).filter("ocId == %@", ocId).first {
                     result.fileName = fileNameTo
                     result.fileNameView = fileNameTo
+                    result.fileNameWithoutExt = (fileNameTo as NSString).deletingPathExtension
                 }
             }
         } catch let error {