added midsection
This commit is contained in:
		
							parent
							
								
									853a09866a
								
							
						
					
					
						commit
						3fb8b08cb4
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -95,6 +95,8 @@ abstract class AbstractSessionScreen { | ||||||
|                 fontSize = 30.sp |                 fontSize = 30.sp | ||||||
|             ) |             ) | ||||||
| 
 | 
 | ||||||
|  |             MidSection() | ||||||
|  | 
 | ||||||
|             Box( |             Box( | ||||||
|                 contentAlignment = Alignment.Center, modifier = Modifier |                 contentAlignment = Alignment.Center, modifier = Modifier | ||||||
|                     .fillMaxWidth() |                     .fillMaxWidth() | ||||||
|  | @ -121,6 +123,11 @@ abstract class AbstractSessionScreen { | ||||||
|     @Composable |     @Composable | ||||||
|     abstract fun motivationString(): String |     abstract fun motivationString(): String | ||||||
| 
 | 
 | ||||||
|  |     @Composable | ||||||
|  |     open fun MidSection() { | ||||||
|  |         // Default has no midsection, unless overwritten. | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     abstract fun callMediaPlayer() |     abstract fun callMediaPlayer() | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 lbarraga
						lbarraga