Update app/src/main/java/be/ugent/sel/studeez/common/ext/ModifierExt.kt
Co-authored-by: lbarraga <Lukas.BarraganTorres@UGent.be>
This commit is contained in:
		
							parent
							
								
									efd92ce832
								
							
						
					
					
						commit
						59044658e6
					
				
					 1 changed files with 0 additions and 7 deletions
				
			
		|  | @ -13,13 +13,6 @@ fun Modifier.textButton(): Modifier { | |||
|     return this.fillMaxWidth().padding(16.dp, 8.dp, 16.dp, 0.dp) | ||||
| } | ||||
| 
 | ||||
| fun Modifier.noRippleClickable(onClick: () -> Unit): Modifier = composed { | ||||
|     clickable(indication = null, | ||||
|         interactionSource = remember { MutableInteractionSource() }) { | ||||
|         onClick() | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| fun Modifier.basicButton(): Modifier { | ||||
|     return this.fillMaxWidth().padding(16.dp, 8.dp) | ||||
| } | ||||
|  |  | |||
		Reference in a new issue
	
	 brreynie
						brreynie