Skip to content

Commit

Permalink
Update settings view on build file changes, too
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tk3y committed Jun 14, 2024
1 parent ab4935f commit 88c34bc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ class GetDeclarativeDocuments : GetModelAction.GetCompositeModelAction<ResolvedD

val buildFileContent =
remember(selectedBuildFile.value, fileUpdatesCount.value) { selectedBuildFile.value.readText() }
val settingsFileContent = remember(model.settingsFile) { model.settingsFile.readText() }
val settingsFileContent = remember(selectedBuildFile.value, fileUpdatesCount, model.settingsFile) {
model.settingsFile.readText()
}

val analyzer = analyzer(model)
val projectResult = remember(selectedBuildFile.value, buildFileContent) {
Expand Down

0 comments on commit 88c34bc

Please sign in to comment.