Skip to content

Commit

Permalink
[chore] #244 ktlintFormat 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
HAJIEUN02 committed Mar 12, 2024
1 parent 8eb5406 commit 009a320
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,28 @@ class JoinGroupSuccessActivity :
binding.tvJoinGroupSuccessDescriptionGroupName.text = SpannableString(
getString(
R.string.join_group_success_description_group_name,
groupName,
),
groupName
)
).apply {
setSpan(
TextAppearanceSpan(
this@JoinGroupSuccessActivity,
R.style.TextAppearance_Pingle_Sub_Semi_16,
R.style.TextAppearance_Pingle_Sub_Semi_16
),
GROUP_NAME_START,
groupName.length,
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE,
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE
)
setSpan(
ForegroundColorSpan(
ContextCompat.getColor(
this@JoinGroupSuccessActivity,
R.color.g_01,
),
R.color.g_01
)
),
GROUP_NAME_START,
groupName.length,
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE,
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE
)
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/org/sopt/pingle/util/ExtensionUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ fun String.makeEllipsisGroupName(): String = when {
private const val SUBSTRING_START_INDEX = 0
private const val SUBSTRING_END_INDEX = 12
private const val GROUP_NAME_MAX_LENGTH = 13
private const val ELLIPSIS = "..."
private const val ELLIPSIS = "..."

0 comments on commit 009a320

Please sign in to comment.