findos icon is now public
This commit is contained in:
@@ -55,7 +55,7 @@ import sh.sar.isodroid.data.IsoFile
|
|||||||
* 1. Longest match (most specific)
|
* 1. Longest match (most specific)
|
||||||
* 2. Earliest position in filename (if same length)
|
* 2. Earliest position in filename (if same length)
|
||||||
*/
|
*/
|
||||||
private fun findOsIcon(context: android.content.Context, filename: String): String? {
|
fun findOsIcon(context: android.content.Context, filename: String): String? {
|
||||||
return try {
|
return try {
|
||||||
// Dynamically load available icon files from assets
|
// Dynamically load available icon files from assets
|
||||||
val availableIcons = context.assets.list("osicons")
|
val availableIcons = context.assets.list("osicons")
|
||||||
|
|||||||
Reference in New Issue
Block a user