diff --git a/file-system/file-system-access.android.ts b/file-system/file-system-access.android.ts index e06ac1175..5fd9e4ed1 100644 --- a/file-system/file-system-access.android.ts +++ b/file-system/file-system-access.android.ts @@ -210,7 +210,7 @@ export class FileSystemAccess { var result = ""; while (true) { line = bufferedReader.readLine(); - if (types.isUndefined(line)) { + if (types.isNullOrUndefined(line)) { break; }