mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix(templates): invalid language filter for Compose template
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user