Skip to content

Commit

Permalink
chore: ktlint, detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
jinukeu committed Jan 12, 2024
1 parent c811663 commit 3cb588c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions core/ui/src/main/java/com/susu/core/ui/util/Date.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import java.time.format.DateTimeFormatter

val currentDate = LocalDateTime.now()

@Suppress("detekt:FunctionNaming")
fun LocalDateTime.to_yyyy_dot_MM_dot_dd(): String {
val formatter = DateTimeFormatter.ofPattern("yyyy.MM.dd")
return this.format(formatter)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ fun LedgerFilterScreen(
Spacer(modifier = Modifier.weight(1f))

Column(
verticalArrangement = Arrangement.spacedBy(SusuTheme.spacing.spacing_xxs)
verticalArrangement = Arrangement.spacedBy(SusuTheme.spacing.spacing_xxs),
) {
SusuFilledButton(
color = FilledButtonColor.Orange,
Expand All @@ -159,7 +159,7 @@ fun LedgerFilterScreen(

Row(
modifier = Modifier.fillMaxWidth(),
horizontalArrangement = Arrangement.spacedBy(SusuTheme.spacing.spacing_m)
horizontalArrangement = Arrangement.spacedBy(SusuTheme.spacing.spacing_m),
) {
RefreshButton()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fun NavGraphBuilder.receivedNavGraph(
padding = padding,
navigateLedgerDetail = navigateLedgerDetail,
navigateLedgerSearch = navigateLedgerSearch,
navigateLedgerFilter= navigateLedgerFilter,
navigateLedgerFilter = navigateLedgerFilter,
)
}

Expand Down

0 comments on commit 3cb588c

Please sign in to comment.