Skip to content

Commit 22198fe

Browse files
committed
val instead of var
1 parent 47d5b7f commit 22198fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-ai/app/src/main/java/com/google/firebase/quickstart/ai/feature/text/TranslationViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class TranslationViewModel : ChatViewModel() {
1919
Hey, are you down to grab some pizza later? I'm starving!
2020
""".trimIndent()
2121

22-
private var chat: Chat
22+
private val chat: Chat
2323

2424
init {
2525
val generativeModel = Firebase.ai(

0 commit comments

Comments
 (0)