Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Fix issue 3171 (#3176)
Browse files Browse the repository at this point in the history
* description multiline duplicated

fix tial for [BUG] Description multiline gets duplicated #3171

* fix issue 3171

* detekt fix
  • Loading branch information
biagio11 authored Apr 30, 2024
1 parent d5bc668 commit 6d7f1b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import com.ivy.wallet.domain.data.CustomExchangeRateState
import com.ivy.wallet.domain.deprecated.logic.model.CreateAccountData
import com.ivy.wallet.domain.deprecated.logic.model.CreateCategoryData
import com.ivy.wallet.ui.edit.core.Category
import com.ivy.wallet.ui.edit.core.Description
import com.ivy.legacy.ui.component.edit.core.Description
import com.ivy.wallet.ui.edit.core.DueDate
import com.ivy.wallet.ui.edit.core.EditBottomSheet
import com.ivy.wallet.ui.edit.core.Title
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import com.ivy.navigation.EditPlannedScreen
import com.ivy.navigation.screenScopedViewModel
import com.ivy.ui.R
import com.ivy.wallet.ui.edit.core.Category
import com.ivy.wallet.ui.edit.core.Description
import com.ivy.legacy.ui.component.edit.core.Description
import com.ivy.wallet.ui.edit.core.EditBottomSheet
import com.ivy.wallet.ui.edit.core.Title
import com.ivy.wallet.ui.edit.core.Toolbar
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.ivy.wallet.ui.edit.core
package com.ivy.legacy.ui.component.edit.core

import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
Expand Down Expand Up @@ -57,9 +56,6 @@ private fun DescriptionText(

Text(
modifier = Modifier
.clickable {
onClick()
}
.padding(horizontal = 24.dp)
.testTag("trn_description"),
text = description,
Expand Down

0 comments on commit 6d7f1b2

Please sign in to comment.