interim Android fixes

This commit is contained in:
Nick Fisher
2023-10-01 20:44:23 +08:00
parent 762f9abde0
commit cf5ab5848d
6 changed files with 101 additions and 50 deletions

View File

@@ -17,8 +17,11 @@ class HotReloadPathHelper {
}.sortedBy {
it.lastModified()
}.toList()
if(files.size > 0)
return files.last().path;
if(files.size > 0) {
Log.v("polyvox_filament", "Using hot reloaded asset at ${files.last().path}")
return files.last().path;
}
Log.v("polyvox_filament", "No hot reloaded asset found.")
return null;
}
}