fix(templates): invalid language filter for Compose template

This commit is contained in:
Akash Yadav
2023-05-25 09:26:10 +05:30
parent 846fb05946
commit e696af34f6
@@ -31,7 +31,7 @@ private const val composeKotlinVersion = "1.7.20"
// Compose template is available only in Kotlin
fun composeActivityProject() =
baseProjectImpl(languageFilter = { it != Kotlin },
baseProjectImpl(languageFilter = { it == Kotlin },
projectVersionData = ProjectVersionData(kotlin = composeKotlinVersion)) {
templateName = R.string.template_compose