From d012a885cf62852a8aafef583a486a70e2b0181b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Kwiecin=CC=81ski?= Date: Sat, 12 Mar 2022 18:25:55 +0100 Subject: [PATCH] Fix codestyle --- .../project/starter/easylauncher/plugin/IconTransformer.kt | 6 ++++-- .../starter/easylauncher/plugin/IconTransformerTest.kt | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/easylauncher/src/main/kotlin/com/project/starter/easylauncher/plugin/IconTransformer.kt b/easylauncher/src/main/kotlin/com/project/starter/easylauncher/plugin/IconTransformer.kt index 2c0ba462..58c6d2ec 100644 --- a/easylauncher/src/main/kotlin/com/project/starter/easylauncher/plugin/IconTransformer.kt +++ b/easylauncher/src/main/kotlin/com/project/starter/easylauncher/plugin/IconTransformer.kt @@ -49,7 +49,8 @@ internal fun File.transformXml(outputFile: File, minSdkVersion: Int, filters: Li .joinToString(separator = "\n") { """ | - |""".trimMargin() + | + """.trimMargin() } val versionSuffix = if (minSdkVersion >= ANDROID_OREO) "" else "-v26" val v26DrawableRoot = drawableRoot.parentFile.resolve("${drawableRoot.normalizedName}-anydpi$versionSuffix") @@ -64,7 +65,8 @@ internal fun File.transformXml(outputFile: File, minSdkVersion: Int, filters: Li | |$layers | - |""".trimMargin(), + | + """.trimMargin(), ) } diff --git a/easylauncher/src/test/kotlin/com/project/starter/easylauncher/plugin/IconTransformerTest.kt b/easylauncher/src/test/kotlin/com/project/starter/easylauncher/plugin/IconTransformerTest.kt index 8cf4f6b2..d5d8019d 100644 --- a/easylauncher/src/test/kotlin/com/project/starter/easylauncher/plugin/IconTransformerTest.kt +++ b/easylauncher/src/test/kotlin/com/project/starter/easylauncher/plugin/IconTransformerTest.kt @@ -58,7 +58,8 @@ internal class IconTransformerTest { | | | - |""".trimMargin(), + | + """.trimMargin(), ) } @@ -92,7 +93,8 @@ internal class IconTransformerTest { | | | - |""".trimMargin(), + | + """.trimMargin(), ) } }