Skip to content

Commit ec0d563

Browse files
committed
better ui ux
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent 8978486 commit ec0d563

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

app/src/main/java/com/nextcloud/client/assistant/AssistantViewModel.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,7 @@ class AssistantViewModel(
251251
}
252252
}
253253

254-
private suspend fun pollTranslationResult(
255-
taskType: TaskTypeData,
256-
selectedTaskId: Long,
257-
maxRetries: Int = 3,
258-
) {
254+
private suspend fun pollTranslationResult(taskType: TaskTypeData, selectedTaskId: Long, maxRetries: Int = 3) {
259255
val taskTypeId = taskType.id ?: return
260256

261257
repeat(maxRetries) { attempt ->
@@ -283,7 +279,6 @@ class AssistantViewModel(
283279
}
284280
// endregion
285281

286-
287282
// region chat
288283
fun sendChatMessage(content: String, sessionId: Long) = viewModelScope.launch(Dispatchers.IO) {
289284
val request = ChatMessageRequest(

0 commit comments

Comments
 (0)