2021-04-30 18:58:05 +02:00
|
|
|
import 'package:nc_photos/mobile/android/notification.dart';
|
|
|
|
import 'package:nc_photos/platform/notification.dart' as itf;
|
|
|
|
|
|
|
|
class AndroidItemDownloadSuccessfulNotification
|
|
|
|
extends itf.ItemDownloadSuccessfulNotification {
|
2021-07-10 16:18:04 +02:00
|
|
|
AndroidItemDownloadSuccessfulNotification(this.fileUris, this.mimeTypes);
|
2021-04-30 18:58:05 +02:00
|
|
|
|
|
|
|
@override
|
|
|
|
Future<void> notify() {
|
2021-07-10 16:18:04 +02:00
|
|
|
return Notification.notifyItemsDownloadSuccessful(fileUris, mimeTypes);
|
2021-04-30 18:58:05 +02:00
|
|
|
}
|
|
|
|
|
2021-07-10 16:18:04 +02:00
|
|
|
final List<String> fileUris;
|
2021-07-23 22:05:57 +02:00
|
|
|
final List<String?> mimeTypes;
|
2021-04-30 18:58:05 +02:00
|
|
|
}
|