From 5fccf2c73ab898b5117160543b9e02a1037d6b63 Mon Sep 17 00:00:00 2001 From: sanao1006 Date: Sat, 7 Sep 2024 15:32:22 +0900 Subject: [PATCH] refactor: change var to val --- .../github/takahirom/roborazzi/idea/preview/PreviewViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roborazzi-idea-plugin/src/main/kotlin/com/github/takahirom/roborazzi/idea/preview/PreviewViewModel.kt b/roborazzi-idea-plugin/src/main/kotlin/com/github/takahirom/roborazzi/idea/preview/PreviewViewModel.kt index 7e73d0bac..5d595fd39 100644 --- a/roborazzi-idea-plugin/src/main/kotlin/com/github/takahirom/roborazzi/idea/preview/PreviewViewModel.kt +++ b/roborazzi-idea-plugin/src/main/kotlin/com/github/takahirom/roborazzi/idea/preview/PreviewViewModel.kt @@ -32,7 +32,7 @@ class PreviewViewModel { var coroutineScope = MainScope() val imagesStateFlow = MutableStateFlow>>(listOf()) - private var searchText = MutableStateFlow("") + private val searchText = MutableStateFlow("") private val lastEditingFileName = MutableStateFlow(null) val statusText = MutableStateFlow("No images found") private val _dropDownUiState = MutableStateFlow(ActionToolbarUiState())