Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownJoe796 committed Aug 7, 2024
2 parents 7768723 + 4064af7 commit 316e6f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ actual object ExternalServices {
val blob = it.second

val type = blob.type.split("/").lastOrNull() ?: "png"
val fileName = if (name.endsWith(".$type")) name else "${name}.${type}"
val fileName = if (name.contains(".")) name else "${name}.${type}"

File(
fileBits = arrayOf(blob),
Expand Down

0 comments on commit 316e6f4

Please sign in to comment.