Skip to content

Commit

Permalink
inapp-products: Exclude values-land directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
vanniktech committed May 3, 2024
1 parent 6d8d9f4 commit 22a7e30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ internal class InAppProducts : CoreCommand() {
}

private fun File.valuesDirectories() = listFiles { file ->
file.isDirectory && file.name.startsWith("values") && !Regex("sw[\\d]+dp").containsMatchIn(file.name) && !file.name.startsWith("values-night")
file.isDirectory && file.name.startsWith("values") && !Regex("sw[\\d]+dp").containsMatchIn(file.name) && !file.name.startsWith("values-night") && !file.name.startsWith("values-land")
}.orEmpty()

private fun File.googlePlayStoreLocale() = Locale.fromAndroidValuesDirectoryName(name).googlePlayStoreLocale()!!
Expand Down

0 comments on commit 22a7e30

Please sign in to comment.