mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	TrackDateRemoverScreen: Fix pop behavior after confirming removal (#8792)
This commit is contained in:
		@@ -524,7 +524,7 @@ private data class TrackDateRemoverScreen(
 | 
			
		||||
                        Text(text = stringResource(android.R.string.cancel))
 | 
			
		||||
                    }
 | 
			
		||||
                    FilledTonalButton(
 | 
			
		||||
                        onClick = { sm.removeDate(); navigator.popUntilRoot() },
 | 
			
		||||
                        onClick = { sm.removeDate(); navigator.popUntil { it is TrackInfoDialogHomeScreen } },
 | 
			
		||||
                        colors = ButtonDefaults.filledTonalButtonColors(
 | 
			
		||||
                            containerColor = MaterialTheme.colorScheme.errorContainer,
 | 
			
		||||
                            contentColor = MaterialTheme.colorScheme.onErrorContainer,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user