mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 10:56:47 +01:00
5806a3ce25
* refactor(mobile): widgets * update
14 lines
408 B
Dart
14 lines
408 B
Dart
import 'package:immich_mobile/widgets/common/confirm_dialog.dart';
|
|
|
|
class UploadDialog extends ConfirmDialog {
|
|
final Function onUpload;
|
|
|
|
const UploadDialog({super.key, required this.onUpload})
|
|
: super(
|
|
title: 'upload_dialog_title',
|
|
content: 'upload_dialog_info',
|
|
cancel: 'upload_dialog_cancel',
|
|
ok: 'upload_dialog_ok',
|
|
onOk: onUpload,
|
|
);
|
|
}
|