Skip to content

Commit 372d7df

Browse files
committed
fix: Correct ReadAllTextAsync implementation for Android.
1 parent 5bbb464 commit 372d7df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.playeveryware.eos/Runtime/Core/Utility/FileSystemUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ public static async Task<string> ReadAllTextAsync(string path)
513513
{
514514
#if UNITY_ANDROID && !UNITY_EDITOR
515515
// On Android, use a custom helper to read the file synchronously
516-
return await Task.FromResult(AndroidFileIOHelper.ReadAllText(path));
516+
return await AndroidFileIOHelper.ReadAllText(path);
517517
#else
518518
// On other platforms, read asynchronously or synchronously as
519519
// appropriate.

0 commit comments

Comments
 (0)