Merge pull request #1964 from Bnyro/master

fix ktlint
This commit is contained in:
Bnyro 2022-11-21 16:26:30 +01:00 committed by GitHub
commit 274c1a3891
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,8 @@ class IconsSheetAdapter : RecyclerView.Adapter<IconsSheetViewHolder>() {
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)