mirror of
				https://github.com/SimpleMobileTools/Simple-Clock.git
				synced 2025-06-05 22:19:17 +02:00 
			
		
		
		
	Merge pull request #179 from SimpleMobileTools/fix_#171
Fixed - Button color incorrect
This commit is contained in:
		| @@ -196,7 +196,7 @@ class StopwatchFragment : Fragment() { | |||||||
|  |  | ||||||
|     private fun updateIcons() { |     private fun updateIcons() { | ||||||
|         val drawableId = if (isRunning) R.drawable.ic_pause_vector else R.drawable.ic_play_vector |         val drawableId = if (isRunning) R.drawable.ic_pause_vector else R.drawable.ic_play_vector | ||||||
|         val iconColor = if (context!!.getAdjustedPrimaryColor() == Color.WHITE) Color.BLACK else context!!.config.textColor |         val iconColor = if (context!!.getAdjustedPrimaryColor() == Color.WHITE) Color.BLACK else Color.WHITE | ||||||
|         view.stopwatch_play_pause.setImageDrawable(resources.getColoredDrawableWithColor(drawableId, iconColor)) |         view.stopwatch_play_pause.setImageDrawable(resources.getColoredDrawableWithColor(drawableId, iconColor)) | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user