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