mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-10-31 23:06:43 +08:00 
			
		
		
		
	android: Show cancel option for delete addons dialog
This commit is contained in:
		
							parent
							
								
									86fc1e5b32
								
							
						
					
					
						commit
						10ba318807
					
				| @ -119,7 +119,8 @@ class AddonsFragment : Fragment() { | ||||
|                                 requireActivity(), | ||||
|                                 titleId = R.string.confirm_uninstall, | ||||
|                                 descriptionId = R.string.confirm_uninstall_description, | ||||
|                                 positiveAction = { addonViewModel.onDeleteAddon(it) } | ||||
|                                 positiveAction = { addonViewModel.onDeleteAddon(it) }, | ||||
|                                 negativeAction = {} | ||||
|                             ).show(parentFragmentManager, MessageDialogFragment.TAG) | ||||
|                             addonViewModel.setAddonToDelete(null) | ||||
|                         } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user