From b28562fa3b81acc10796be9a75650cbe877a4d30 Mon Sep 17 00:00:00 2001 From: Roman Levinzon Date: Mon, 13 May 2024 11:45:11 +0200 Subject: [PATCH] fix: Fix ViewModel Template --- .../resources/fileTemplates/internal/ComposeViewModel.kt.ft | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/fileTemplates/internal/ComposeViewModel.kt.ft b/src/main/resources/fileTemplates/internal/ComposeViewModel.kt.ft index 7cdebe3..6328275 100644 --- a/src/main/resources/fileTemplates/internal/ComposeViewModel.kt.ft +++ b/src/main/resources/fileTemplates/internal/ComposeViewModel.kt.ft @@ -9,7 +9,7 @@ import javax.inject.Inject import kotlinx.coroutines.flow.StateFlow import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.asStateFlow -#if (${AI_USED} == "true") +#if (${AI_USED}) import kotlinx.coroutines.flow.update #end