From 2824f39b5f4ff0a09e424663835fb9bbaa98d265 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Mon, 21 Nov 2022 16:25:53 +0100 Subject: [PATCH] fix ktlint --- .../java/com/github/libretube/ui/adapters/IconsSheetAdapter.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/github/libretube/ui/adapters/IconsSheetAdapter.kt b/app/src/main/java/com/github/libretube/ui/adapters/IconsSheetAdapter.kt index aea7258b8..a1805b683 100644 --- a/app/src/main/java/com/github/libretube/ui/adapters/IconsSheetAdapter.kt +++ b/app/src/main/java/com/github/libretube/ui/adapters/IconsSheetAdapter.kt @@ -24,7 +24,8 @@ class IconsSheetAdapter : RecyclerView.Adapter() { override fun onBindViewHolder(holder: IconsSheetViewHolder, position: Int) { val appIcon = availableIcons[position] - holder.binding.apply { iconIV.setImageResource(appIcon.iconResource) + holder.binding.apply { + iconIV.setImageResource(appIcon.iconResource) iconName.text = root.context.getString(appIcon.nameResource) root.setOnClickListener { PreferenceHelper.putString(PreferenceKeys.APP_ICON, appIcon.activityAlias)