This mapping has 2 multi-map groups: several pairings are equally correct there. The code view shows one arbitrary valid pairing, not the only one.

Before

…lines 1–35 unchanged (35 lines)
36import androidx.compose.ui.res.stringResource
37import androidx.compose.ui.text.font.FontWeight
38import androidx.compose.ui.text.style.TextAlign
39import androidx.compose.ui.tooling.preview.Preview
40import androidx.compose.ui.unit.dp
41import androidx.compose.ui.unit.sp
42import com.nextcloud.client.assistant.taskDetail.TaskDetailBottomSheet
43import com.nextcloud.utils.extensions.truncateWithEllipsis
44import com.owncloud.android.R
45import com.owncloud.android.lib.resources.assistant.v2.model.Task
46import com.owncloud.android.lib.resources.assistant.v2.model.TaskInput
47import com.owncloud.android.lib.resources.assistant.v2.model.TaskOutput
48import com.owncloud.android.lib.resources.status.OCCapability
49
50@Suppress("LongMethod", "MagicNumber")
51@Composable
52fun TaskView(task: Task, capability: OCCapability, showTaskActions: () -> Unit, showTranslateScreen: (Task) -> Unit) {
53 var showTaskDetailBottomSheet by remember { mutableStateOf(false) }
54
55 Box {
56 Column(
57 modifier = Modifier
58 .fillMaxWidth()
59 .clip(RoundedCornerShape(8.dp))
60 .background(color = colorResource(R.color.task_container))
61 .clickable {
62 if (task.type == "core:text2text:translate") {
63 showTranslateScreen(task)
64 } else {
65 showTaskDetailBottomSheet = true
66 }
67 }
68 .padding(16.dp)
69 ) {
…lines 70–142 unchanged (73 lines)
143 1707692337,
144 1707692337,
145 1707692337,
146 1707692337,
147 1707692337
148 ),
149 OCCapability().apply {
150 versionMayor = 30
151 },
152 showTaskActions = {
153 },
154 showTranslateScreen = {
155 }
156 )
157}
158

After

…lines 1–35 unchanged (35 lines)
36import androidx.compose.ui.res.stringResource
37import androidx.compose.ui.text.font.FontWeight
38import androidx.compose.ui.text.style.TextAlign
39import androidx.compose.ui.tooling.preview.Preview
40import androidx.compose.ui.unit.dp
41import androidx.compose.ui.unit.sp
42import com.nextcloud.client.assistant.AssistantViewModel
43import com.nextcloud.client.assistant.getMockAssistantViewModel
44import com.nextcloud.client.assistant.model.AssistantScreenState
45import com.nextcloud.client.assistant.taskDetail.TaskDetailBottomSheet
46import com.nextcloud.utils.extensions.truncateWithEllipsis
47import com.owncloud.android.R
48import com.owncloud.android.lib.resources.assistant.v2.model.Task
49import com.owncloud.android.lib.resources.assistant.v2.model.TaskInput
50import com.owncloud.android.lib.resources.assistant.v2.model.TaskOutput
51import com.owncloud.android.lib.resources.status.OCCapability
52
53@Suppress("LongMethod", "MagicNumber")
54@Composable
55fun TaskView(task: Task, viewModel: AssistantViewModel, capability: OCCapability, showTaskActions: () -> Unit) {
56 var showTaskDetailBottomSheet by remember { mutableStateOf(false) }
57
58 Box {
59 Column(
60 modifier = Modifier
61 .fillMaxWidth()
62 .clip(RoundedCornerShape(8.dp))
63 .background(color = colorResource(R.color.task_container))
64 .clickable {
65 viewModel.selectTask(task)
66
67 if (task.type == "core:text2text:translate") {
68 viewModel.updateScreenState(AssistantScreenState.Translation(task))
69 } else {
70 showTaskDetailBottomSheet = true
71 }
72 }
73 .padding(16.dp)
74 ) {
…lines 75–147 unchanged (73 lines)
148 1707692337,
149 1707692337,
150 1707692337,
151 1707692337,
152 1707692337
153 ),
154 viewModel = getMockAssistantViewModel(true),
155 OCCapability().apply {
156 versionMayor = 30
157 },
158 showTaskActions = {
159 }
160 )
161}
162

Before

source_file
block_comment "/*\n * Nextcloud - Android Client\n *\n * SPDX-FileCopyrightTex"...
package_header
package "package"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "assistant"
. "."
identifier "task"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "animation"
. "."
identifier "animateContentSize"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "animation"
. "."
identifier "core"
. "."
identifier "Spring"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "animation"
. "."
identifier "core"
. "."
identifier "spring"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "background"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "clickable"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "Box"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "Column"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "Spacer"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "fillMaxWidth"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "height"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "padding"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "width"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "shape"
. "."
identifier "RoundedCornerShape"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "material"
. "."
identifier "icons"
. "."
identifier "Icons"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "material"
. "."
identifier "icons"
. "."
identifier "filled"
. "."
identifier "MoreVert"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "material3"
. "."
identifier "Icon"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "material3"
. "."
identifier "IconButton"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "material3"
. "."
identifier "Text"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "runtime"
. "."
identifier "Composable"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "runtime"
. "."
identifier "getValue"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "runtime"
. "."
identifier "mutableStateOf"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "runtime"
. "."
identifier "remember"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "runtime"
. "."
identifier "setValue"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "Alignment"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "Modifier"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "draw"
. "."
identifier "clip"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "res"
. "."
identifier "colorResource"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "res"
. "."
identifier "stringResource"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "text"
. "."
identifier "font"
. "."
identifier "FontWeight"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "text"
. "."
identifier "style"
. "."
identifier "TextAlign"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "tooling"
. "."
identifier "preview"
. "."
identifier "Preview"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "unit"
. "."
identifier "dp"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "unit"
. "."
identifier "sp"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "assistant"
. "."
identifier "taskDetail"
. "."
identifier "TaskDetailBottomSheet"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "truncateWithEllipsis"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "R"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "assistant"
. "."
identifier "v2"
. "."
identifier "model"
. "."
identifier "Task"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "assistant"
. "."
identifier "v2"
. "."
identifier "model"
. "."
identifier "TaskInput"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "assistant"
. "."
identifier "v2"
. "."
identifier "model"
. "."
identifier "TaskOutput"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "status"
. "."
identifier "OCCapability"
function_declaration
modifiers (+24 nodes collapsed)
fun "fun"
identifier "TaskView"
function_value_parameters
( "("
parameter
identifier "task"
: ":"
user_type
identifier "Task"
, ","
parameter
identifier "capability"
: ":"
user_type
identifier "OCCapability"
, ","
parameter
identifier "showTaskActions"
: ":"
function_type
function_type_parameters
( "("
) ")"
-> "->"
user_type
identifier "Unit"
, ","
parameter
identifier "showTranslateScreen"
: ":"
function_type
function_type_parameters
( "("
user_type
identifier "Task"
) ")"
-> "->"
user_type
identifier "Unit"
) ")"
function_body
block
{ "{"
property_declaration
var "var"
variable_declaration
identifier "showTaskDetailBottomSheet"
property_delegate
by "by"
call_expression
identifier "remember"
annotated_lambda
lambda_literal
{ "{"
call_expression
identifier "mutableStateOf"
value_arguments
( "("
value_argument
identifier "false"
) ")"
} "}"
call_expression
identifier "Box"
annotated_lambda
lambda_literal
{ "{"
call_expression
call_expression
identifier "Column"
value_arguments
( "("
value_argument
identifier "modifier"
= "="
call_expression
navigation_expression
call_expression
navigation_expression (+52 nodes collapsed)
annotated_lambda
lambda_literal
{ "{"
if_expression
if "if"
( "("
binary_expression
navigation_expression
identifier "task"
. "."
identifier "type"
== "=="
string_literal
" "\""
string_content "core:text2text:translate"
" "\""
) ")"
block
{ "{"
call_expression
identifier "showTranslateScreen"
value_arguments any 1:2
( "("
value_argument any 1:2
identifier "task"
) ")"
} "}"
else "else"
block
{ "{"
assignment
identifier "showTaskDetailBottomSheet"
= "="
identifier "true"
} "}"
} "}"
. "."
identifier "padding"
value_arguments
( "("
value_argument
navigation_expression
number_literal "16"
. "."
identifier "dp"
) ")"
) ")"
annotated_lambda (+293 nodes collapsed)
call_expression (+80 nodes collapsed)
} "}"
} "}"
function_declaration
modifiers (+24 nodes collapsed)
fun "fun"
identifier "TaskViewPreview"
function_value_parameters
( "("
) ")"
function_body
block
{ "{"
call_expression
identifier "TaskView"
value_arguments
( "("
value_argument (+79 nodes collapsed)
, ","
value_argument
call_expression
navigation_expression
call_expression
identifier "OCCapability"
value_arguments
( "("
) ")"
. "."
identifier "apply"
annotated_lambda
lambda_literal
{ "{"
assignment
identifier "versionMayor"
= "="
number_literal "30"
} "}"
, ","
value_argument
identifier "showTaskActions"
= "="
lambda_literal
{ "{"
} "}"
, ","
value_argument
identifier "showTranslateScreen"
= "="
lambda_literal
{ "{"
} "}"
) ")"
} "}"

After

source_file
block_comment "/*\n * Nextcloud - Android Client\n *\n * SPDX-FileCopyrightTex"...
package_header
package "package"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "assistant"
. "."
identifier "task"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "animation"
. "."
identifier "animateContentSize"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "animation"
. "."
identifier "core"
. "."
identifier "Spring"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "animation"
. "."
identifier "core"
. "."
identifier "spring"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "background"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "clickable"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "Box"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "Column"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "Spacer"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "fillMaxWidth"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "height"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "padding"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "layout"
. "."
identifier "width"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "foundation"
. "."
identifier "shape"
. "."
identifier "RoundedCornerShape"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "material"
. "."
identifier "icons"
. "."
identifier "Icons"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "material"
. "."
identifier "icons"
. "."
identifier "filled"
. "."
identifier "MoreVert"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "material3"
. "."
identifier "Icon"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "material3"
. "."
identifier "IconButton"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "material3"
. "."
identifier "Text"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "runtime"
. "."
identifier "Composable"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "runtime"
. "."
identifier "getValue"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "runtime"
. "."
identifier "mutableStateOf"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "runtime"
. "."
identifier "remember"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "runtime"
. "."
identifier "setValue"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "Alignment"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "Modifier"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "draw"
. "."
identifier "clip"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "res"
. "."
identifier "colorResource"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "res"
. "."
identifier "stringResource"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "text"
. "."
identifier "font"
. "."
identifier "FontWeight"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "text"
. "."
identifier "style"
. "."
identifier "TextAlign"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "tooling"
. "."
identifier "preview"
. "."
identifier "Preview"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "unit"
. "."
identifier "dp"
import
import "import"
qualified_identifier
identifier "androidx"
. "."
identifier "compose"
. "."
identifier "ui"
. "."
identifier "unit"
. "."
identifier "sp"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "assistant"
. "."
identifier "AssistantViewModel"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "assistant"
. "."
identifier "getMockAssistantViewModel"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "assistant"
. "."
identifier "model"
. "."
identifier "AssistantScreenState"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "assistant"
. "."
identifier "taskDetail"
. "."
identifier "TaskDetailBottomSheet"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "utils"
. "."
identifier "extensions"
. "."
identifier "truncateWithEllipsis"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "R"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "assistant"
. "."
identifier "v2"
. "."
identifier "model"
. "."
identifier "Task"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "assistant"
. "."
identifier "v2"
. "."
identifier "model"
. "."
identifier "TaskInput"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "assistant"
. "."
identifier "v2"
. "."
identifier "model"
. "."
identifier "TaskOutput"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "status"
. "."
identifier "OCCapability"
function_declaration
modifiers (+24 nodes collapsed)
fun "fun"
identifier "TaskView"
function_value_parameters
( "("
parameter
identifier "task"
: ":"
user_type
identifier "Task"
, ","
parameter
identifier "viewModel"
: ":"
user_type
identifier "AssistantViewModel"
, ","
parameter
identifier "capability"
: ":"
user_type
identifier "OCCapability"
, ","
parameter
identifier "showTaskActions"
: ":"
function_type
function_type_parameters
( "("
) ")"
-> "->"
user_type
identifier "Unit"
) ")"
function_body
block
{ "{"
property_declaration
var "var"
variable_declaration
identifier "showTaskDetailBottomSheet"
property_delegate
by "by"
call_expression
identifier "remember"
annotated_lambda
lambda_literal
{ "{"
call_expression
identifier "mutableStateOf"
value_arguments
( "("
value_argument
identifier "false"
) ")"
} "}"
call_expression
identifier "Box"
annotated_lambda
lambda_literal
{ "{"
call_expression
call_expression
identifier "Column"
value_arguments
( "("
value_argument
identifier "modifier"
= "="
call_expression
navigation_expression
call_expression
navigation_expression (+52 nodes collapsed)
annotated_lambda
lambda_literal
{ "{"
call_expression
navigation_expression
identifier "viewModel"
. "."
identifier "selectTask"
value_arguments
( "("
value_argument
identifier "task"
) ")"
if_expression
if "if"
( "("
binary_expression
navigation_expression
identifier "task"
. "."
identifier "type"
== "=="
string_literal
" "\""
string_content "core:text2text:translate"
" "\""
) ")"
block
{ "{"
call_expression
navigation_expression
identifier "viewModel"
. "."
identifier "updateScreenState"
value_arguments any 1:2
( "("
value_argument any 1:2
call_expression
navigation_expression
identifier "AssistantScreenState"
. "."
identifier "Translation"
value_arguments any 1:2
( "("
value_argument any 1:2
identifier "task"
) ")"
) ")"
} "}"
else "else"
block
{ "{"
assignment
identifier "showTaskDetailBottomSheet"
= "="
identifier "true"
} "}"
} "}"
. "."
identifier "padding"
value_arguments
( "("
value_argument
navigation_expression
number_literal "16"
. "."
identifier "dp"
) ")"
) ")"
annotated_lambda (+293 nodes collapsed)
call_expression (+80 nodes collapsed)
} "}"
} "}"
function_declaration
modifiers (+24 nodes collapsed)
fun "fun"
identifier "TaskViewPreview"
function_value_parameters
( "("
) ")"
function_body
block
{ "{"
call_expression
identifier "TaskView"
value_arguments
( "("
value_argument (+79 nodes collapsed)
, ","
value_argument
identifier "viewModel"
= "="
call_expression
identifier "getMockAssistantViewModel"
value_arguments
( "("
value_argument
identifier "true"
) ")"
, ","
value_argument
call_expression
navigation_expression
call_expression
identifier "OCCapability"
value_arguments
( "("
) ")"
. "."
identifier "apply"
annotated_lambda
lambda_literal
{ "{"
assignment
identifier "versionMayor"
= "="
number_literal "30"
} "}"
, ","
value_argument
identifier "showTaskActions"
= "="
lambda_literal
{ "{"
} "}"
) ")"
} "}"