Skip to content

Commit

Permalink
[Feat]: 내역 수정 QA
Browse files Browse the repository at this point in the history
  • Loading branch information
jinuemong committed Feb 21, 2024
1 parent 0b65be2 commit c174d55
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,9 @@ fun FieldSelectComponent(
)

Image(
painter = painterResource(R.drawable.ic_chevron_right),
painter = painterResource(R.drawable.ic_text_field_chevron_right),
contentDescription = null,
modifier = Modifier.align(Alignment.CenterEnd),
colorFilter = ColorFilter.tint(Gray500)
modifier = Modifier.align(Alignment.CenterEnd)
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ import androidx.compose.ui.graphics.ColorFilter
import androidx.compose.ui.platform.LocalFocusManager
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.rememberTextMeasurer
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
Expand Down Expand Up @@ -184,6 +185,7 @@ private fun HistoryDetailEditScreen(
isShowingSuccessEditSnackBar = true
delay(500L)
isShowingSuccessEditSnackBar = false
isEditMode = false
}
}
}
Expand Down Expand Up @@ -220,7 +222,7 @@ private fun HistoryDetailEditScreen(
.padding(Space8)
) {
Image(
painter = painterResource(R.drawable.ic_close),
painter = painterResource(R.drawable.ic_close_rounded),
contentDescription = null,
modifier = Modifier
.align(Alignment.CenterEnd)
Expand Down Expand Up @@ -296,9 +298,8 @@ private fun HistoryDetailEditScreen(
}
} else {
Image(
painter = painterResource(R.drawable.ic_chevron_right),
painter = painterResource(R.drawable.ic_text_field_chevron_right),
contentDescription = null,
colorFilter = ColorFilter.tint(Gray500)
)
}
},
Expand All @@ -322,6 +323,7 @@ private fun HistoryDetailEditScreen(
horizontal = 16.dp
),
fieldHeight = 97.dp,
hintText = "메모를 입력해주세요",
onTextFieldFocusChange = {
isMemoSelected = it
},
Expand All @@ -341,9 +343,8 @@ private fun HistoryDetailEditScreen(
}
} else {
Image(
painter = painterResource(R.drawable.ic_chevron_right),
contentDescription = null,
colorFilter = ColorFilter.tint(Gray500)
painter = painterResource(R.drawable.ic_text_field_chevron_right),
contentDescription = null
)
}
},
Expand Down
13 changes: 13 additions & 0 deletions presentation/src/main/res/drawable/ic_text_field_chevron_right.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M9,17.998L15,11.998L9,5.998"
android:strokeLineJoin="round"
android:strokeWidth="1.5"
android:fillColor="#00000000"
android:strokeColor="#A4A6AA"
android:strokeLineCap="round"/>
</vector>

0 comments on commit c174d55

Please sign in to comment.