Skip to content

Commit

Permalink
core: massive improvements & fixes for youtube downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
MSOB7YY committed May 13, 2024
1 parent f8a3947 commit 18671d5
Show file tree
Hide file tree
Showing 4 changed files with 250 additions and 129 deletions.
4 changes: 4 additions & 0 deletions lib/controller/notification_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ class NotificationService {
);
}

Future<void> removeDownloadingYoutubeNotification({required String notificationID}) async {
await _flutterLocalNotificationsPlugin.cancel(_youtubeDownloadID, tag: notificationID);
}

void doneDownloadingYoutubeNotification({
required String notificationID,
required String videoTitle,
Expand Down
Loading

0 comments on commit 18671d5

Please sign in to comment.