Skip to content

Commit

Permalink
[fix/#138] modifyDetail이 true일 때만 "추가하기" 나타나기
Browse files Browse the repository at this point in the history
  • Loading branch information
unam98 committed Feb 12, 2024
1 parent ff46c54 commit 85eaabe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class BackCardView : CardView {
fun submitInterestList(interests: List<Interest>) {
val currentList = interestAdapter.currentList.toMutableList()

if (!currentList.any { it.interest == "추가하기" }) {
if (!currentList.any { it.interest == "추가하기" } && isModifyDetail) {
currentList.add(Interest("추가하기"))
}

Expand Down

0 comments on commit 85eaabe

Please sign in to comment.