فهرست منبع

Add todos

Signed-off-by: alperozturk <alper_ozturk@proton.me>
alperozturk 1 سال پیش
والد
کامیت
aa67830941
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      app/src/main/java/com/nextcloud/utils/fileNameValidator/FileNameValidator.kt

+ 2 - 0
app/src/main/java/com/nextcloud/utils/fileNameValidator/FileNameValidator.kt

@@ -44,6 +44,8 @@ object FileNameValidator {
             return context.getString(R.string.filename_empty)
         }
 
+        // TODO must only work for live type
+        // TODO Native Files app can create forbidden file names we need to check it as well
         if (isFileNameAlreadyExist(filename, existedFileNames ?: mutableSetOf())) {
             return context.getString(R.string.file_already_exists)
         }