We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6a673e commit 45cdfdeCopy full SHA for 45cdfde
src/Files.App/Filesystem/BaseStorage/BaseStorageFile.cs
@@ -107,7 +107,7 @@ public async Task<string> ReadTextAsync(int maxLength = -1)
107
var data = new char[charsToRead];
108
charsRead = await dataReader.ReadAsync(data);
109
builder.Append(data, 0, charsRead);
110
- } while (charsRead > 0 && inputStream.Position < inputStream.Size);
+ } while (charsRead > 0 && stream.Position < stream.Length);
111
return builder.ToString();
112
}
113
0 commit comments