some code polishing
This commit is contained in:
		
							parent
							
								
									4b09a8011c
								
							
						
					
					
						commit
						360fb122f7
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		|  | @ -101,15 +101,11 @@ fun ColorPicker( | |||
| ) { | ||||
|     Button( | ||||
|         onClick = { onColorChange(Color.generateRandomArgb()) }, | ||||
|         modifier = Modifier | ||||
|             .fieldModifier(), | ||||
|         modifier = Modifier.fieldModifier(), | ||||
|         colors = ButtonDefaults.buttonColors( | ||||
|             backgroundColor = Color(uiState.color), | ||||
| //            contentColor = MaterialTheme.colors.onSurface.copy(alpha = 0.4f), | ||||
|         ), | ||||
|         shape = RoundedCornerShape(4.dp), | ||||
| //        border = BorderStroke(1.dp, MaterialTheme.colors.onSurface.copy(alpha = 0.4f)), | ||||
|         elevation = null, | ||||
|     ) { | ||||
|         Text(text = "Regenerate color") | ||||
|     } | ||||
|  |  | |||
		Reference in a new issue
	
	 brreynie
						brreynie