mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 10:49:11 -04:00 
			
		
		
		
	* feat(mobile): partner sharing * getAllAssets for other users * i18n * fix tests * try to fix web tests * shared with/by confusion * error logging * guard against outdated server version
		
			
				
	
	
		
			17 lines
		
	
	
		
			479 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			479 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| import 'package:flutter/material.dart';
 | |
| import 'package:immich_mobile/shared/ui/confirm_dialog.dart';
 | |
| 
 | |
| class DeleteDialog extends ConfirmDialog {
 | |
|   final Function onDelete;
 | |
| 
 | |
|   const DeleteDialog({Key? key, required this.onDelete})
 | |
|       : super(
 | |
|           key: key,
 | |
|           title: "delete_dialog_title",
 | |
|           content: "delete_dialog_alert",
 | |
|           cancel: "delete_dialog_cancel",
 | |
|           ok: "delete_dialog_ok",
 | |
|           onOk: onDelete,
 | |
|         );
 | |
| }
 |