mirror of
https://github.com/immich-app/immich.git
synced 2024-12-22 01:47:08 +02:00
17 lines
462 B
Dart
17 lines
462 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
import 'package:immich_mobile/shared/ui/confirm_dialog.dart';
|
||
|
|
||
|
class UploadDialog extends ConfirmDialog {
|
||
|
final Function onUpload;
|
||
|
|
||
|
const UploadDialog({Key? key, required this.onUpload})
|
||
|
: super(
|
||
|
key: key,
|
||
|
title: 'upload_dialog_title',
|
||
|
content: 'upload_dialog_info',
|
||
|
cancel: 'upload_dialog_cancel',
|
||
|
ok: 'upload_dialog_ok',
|
||
|
onOk: onUpload,
|
||
|
);
|
||
|
}
|