Import optimizations

This commit is contained in:
tom5079
2022-01-22 20:13:28 +09:00
parent 0dd25faced
commit 8503c64f04
3 changed files with 3 additions and 12 deletions

View File

@@ -51,7 +51,6 @@ data class SourceEntry(
val icon: Drawable,
val version: String
)
typealias SourceEntries = Map<String, SourceEntry>
val PackageInfo.isSourceFeatureEnabled
get() = this.reqFeatures.orEmpty().any { it.name == SOURCES_FEATURE }