parent
f365b53a0f
commit
46aeab9a7a
@ -0,0 +1,9 @@
|
||||
package tachiyomi.core.storage
|
||||
|
||||
import com.hippo.unifile.UniFile
|
||||
|
||||
val UniFile.extension: String?
|
||||
get() = name?.substringAfterLast('.')
|
||||
|
||||
val UniFile.nameWithoutExtension: String?
|
||||
get() = name?.substringBeforeLast('.')
|
Loading…
Reference in new issue