mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 13:50:30 +05:30
commit
274c1a3891
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user