From 2af0fa49fca3c8dd47ebedecdcdd45c911d56b5c Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Wed, 7 Nov 2018 22:41:59 +0100 Subject: [PATCH] Minor formatting improvements --- .../de/kuschku/quasseldroid/util/helper/ActivityHelper.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/de/kuschku/quasseldroid/util/helper/ActivityHelper.kt b/app/src/main/java/de/kuschku/quasseldroid/util/helper/ActivityHelper.kt index 4f59ce22a..ec6c7441c 100644 --- a/app/src/main/java/de/kuschku/quasseldroid/util/helper/ActivityHelper.kt +++ b/app/src/main/java/de/kuschku/quasseldroid/util/helper/ActivityHelper.kt @@ -38,8 +38,8 @@ import androidx.annotation.StringRes * @param colorPrimary The color used as background for the header of the recents card - passed as Android * Color Resource */ -fun Activity.updateRecentsHeaderIfExisting( - label: String, @DrawableRes icon: Int, @ColorRes colorPrimary: Int) { +fun Activity.updateRecentsHeaderIfExisting(label: String, @DrawableRes icon: Int, + @ColorRes colorPrimary: Int) { val iconRaw = BitmapFactory.decodeResource(resources, icon) val colorPrimaryRaw = resources.getColorBackport(colorPrimary, theme) updateRecentsHeaderIfExisting(label, iconRaw, colorPrimaryRaw) @@ -54,8 +54,8 @@ fun Activity.updateRecentsHeaderIfExisting( * @param colorPrimary The color used as background for the header of the recents card - passed as Android * Color Resource */ -fun Activity.updateRecentsHeaderIfExisting(@StringRes label: Int, @DrawableRes icon: Int, @ColorRes -colorPrimary: Int) { +fun Activity.updateRecentsHeaderIfExisting(@StringRes label: Int, @DrawableRes icon: Int, + @ColorRes colorPrimary: Int) { val labelRaw = resources.getString(label) val iconRaw = BitmapFactory.decodeResource(resources, icon) val colorPrimaryRaw = resources.getColorBackport(colorPrimary, theme) -- GitLab