mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-21 07:50:16 +00:00
[refactor]remove warning
This commit is contained in:
@@ -935,7 +935,7 @@ namespace XCharts.Runtime
|
||||
Download(base64str, fileName);
|
||||
Debug.Log("SaveAsImage: download by brower:" + fileName);
|
||||
return tex;
|
||||
#endif
|
||||
#else
|
||||
if (string.IsNullOrEmpty(path))
|
||||
{
|
||||
var dir = Application.persistentDataPath + "/SavedImage";
|
||||
@@ -953,6 +953,7 @@ namespace XCharts.Runtime
|
||||
System.IO.File.WriteAllBytes(path, bytes);
|
||||
Debug.Log("SaveAsImage:" + path);
|
||||
return tex;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user