mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 11:24:37 +02:00
bcc2c34eef
* 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,
|
|
);
|
|
}
|