mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	Regenerate drawables (#4352)
This commit is contained in:
		| @@ -46,9 +46,9 @@ class SourceHolder(private val view: View, val adapter: SourceAdapter) : | ||||
|  | ||||
|         binding.pin.isVisible = true | ||||
|         if (item.isPinned) { | ||||
|             binding.pin.setVectorCompat(R.drawable.ic_push_pin_filled_24dp, view.context.getResourceColor(R.attr.colorAccent)) | ||||
|             binding.pin.setVectorCompat(R.drawable.ic_push_pin_24dp, view.context.getResourceColor(R.attr.colorAccent)) | ||||
|         } else { | ||||
|             binding.pin.setVectorCompat(R.drawable.ic_push_pin_24dp, view.context.getResourceColor(android.R.attr.textColorHint)) | ||||
|             binding.pin.setVectorCompat(R.drawable.ic_push_pin_outline_24dp, view.context.getResourceColor(android.R.attr.textColorHint)) | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -36,9 +36,9 @@ class GroupItem(val filter: Filter.Group<*>) : AbstractExpandableHeaderItem<Grou | ||||
|  | ||||
|         holder.icon.setVectorCompat( | ||||
|             if (isExpanded) { | ||||
|                 R.drawable.ic_baseline_expand_less_24dp | ||||
|                 R.drawable.ic_expand_less_24dp | ||||
|             } else { | ||||
|                 R.drawable.ic_baseline_expand_more_24dp | ||||
|                 R.drawable.ic_expand_more_24dp | ||||
|             } | ||||
|         ) | ||||
|  | ||||
|   | ||||
| @@ -33,9 +33,9 @@ class SortGroup(val filter: Filter.Sort) : AbstractExpandableHeaderItem<SortGrou | ||||
|  | ||||
|         holder.icon.setVectorCompat( | ||||
|             if (isExpanded) { | ||||
|                 R.drawable.ic_baseline_expand_less_24dp | ||||
|                 R.drawable.ic_expand_less_24dp | ||||
|             } else { | ||||
|                 R.drawable.ic_baseline_expand_more_24dp | ||||
|                 R.drawable.ic_expand_more_24dp | ||||
|             } | ||||
|         ) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user