lint decreased

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-03-04 13:55:57 +01:00 committed by Alper Öztürk
parent 6a8b50e116
commit 948f249d9d

View file

@ -136,8 +136,8 @@ fun AssistantScreen(viewModel: AssistantViewModel) {
}
}
checkTaskAdd(isTaskCreated, activity, viewModel)
checkTaskDeletion(isTaskDeleted, activity, viewModel)
CheckTaskAdd(isTaskCreated, activity, viewModel)
CheckTaskDeletion(isTaskDeleted, activity, viewModel)
if (showDeleteTaskAlertDialog) {
taskIdToDeleted?.let { id ->
@ -160,7 +160,7 @@ fun AssistantScreen(viewModel: AssistantViewModel) {
}
@Composable
private fun checkTaskAdd(isTaskCreated: Boolean?, activity: Activity, viewModel: AssistantViewModel) {
private fun CheckTaskAdd(isTaskCreated: Boolean?, activity: Activity, viewModel: AssistantViewModel) {
isTaskCreated?.let {
val messageId = if (it) {
R.string.assistant_screen_task_create_success_message
@ -178,7 +178,7 @@ private fun checkTaskAdd(isTaskCreated: Boolean?, activity: Activity, viewModel:
}
@Composable
private fun checkTaskDeletion(isTaskDeleted: Boolean?, activity: Activity, viewModel: AssistantViewModel) {
private fun CheckTaskDeletion(isTaskDeleted: Boolean?, activity: Activity, viewModel: AssistantViewModel) {
isTaskDeleted?.let {
val messageId = if (it) {
R.string.assistant_screen_task_delete_success_message