Cleanup
This commit is contained in:
parent
f38df69983
commit
85e30ef6ca
@ -84,9 +84,8 @@ internal class ExtensionGithubApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// SY -->
|
// SY -->
|
||||||
fun Extension.isBlacklisted(
|
private fun Extension.isBlacklisted(
|
||||||
blacklistEnabled: Boolean =
|
blacklistEnabled: Boolean = preferences.enableSourceBlacklist().get()
|
||||||
preferences.enableSourceBlacklist().get()
|
|
||||||
): Boolean {
|
): Boolean {
|
||||||
return pkgName in BlacklistedSources.BLACKLISTED_EXTENSIONS && blacklistEnabled
|
return pkgName in BlacklistedSources.BLACKLISTED_EXTENSIONS && blacklistEnabled
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user