mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
27 lines
761 B
Dart
27 lines
761 B
Dart
import 'package:nc_photos/mobile/android/notification.dart';
|
|
import 'package:nc_photos/platform/notification.dart' as itf;
|
|
|
|
class AndroidItemDownloadSuccessfulNotification
|
|
extends itf.ItemDownloadSuccessfulNotification {
|
|
AndroidItemDownloadSuccessfulNotification(this.fileUris, this.mimeTypes);
|
|
|
|
@override
|
|
Future<void> notify() {
|
|
return Notification.notifyItemsDownloadSuccessful(fileUris, mimeTypes);
|
|
}
|
|
|
|
final List<String> fileUris;
|
|
final List<String?> mimeTypes;
|
|
}
|
|
|
|
class AndroidLogSaveSuccessfulNotification
|
|
extends itf.LogSaveSuccessfulNotification {
|
|
AndroidLogSaveSuccessfulNotification(this.fileUri);
|
|
|
|
@override
|
|
Future<void> notify() {
|
|
return Notification.notifyLogSaveSuccessful(fileUri);
|
|
}
|
|
|
|
final String fileUri;
|
|
}
|