Skip to content

Commit

Permalink
Use Locale.ROOT for default locale instead of Locale.getDefault()
Browse files Browse the repository at this point in the history
  • Loading branch information
burnoo committed Dec 10, 2022
1 parent 424e905 commit 8a72e19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package dev.burnoo.demo.listapp.core.utils

import java.util.*

class TitleParser(private val locale: Locale = Locale.getDefault()) {
class TitleParser(private val locale: Locale = Locale.ROOT) {

fun parse(title: String): String {
val lowercaseTitle = title.lowercase(locale)
Expand Down

0 comments on commit 8a72e19

Please sign in to comment.