mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Archive files not being scanned
This commit is contained in:
parent
f28544edb1
commit
e008d9fb29
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ val UniFile.nameWithoutExtension: String?
|
|||
get() = name?.substringBeforeLast('.')
|
||||
|
||||
val UniFile.extension: String?
|
||||
get() = name?.replace(nameWithoutExtension.orEmpty(), "")
|
||||
get() = name?.replace("${nameWithoutExtension.orEmpty()}.", "")
|
||||
|
||||
fun UniFile.toTempFile(context: Context): File {
|
||||
val inputStream = context.contentResolver.openInputStream(uri)!!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue