Skip to content

Commit 1b5713d

Browse files
committed
Added torrent snackbar when magnet link is added
1 parent cdecbc2 commit 1b5713d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/Components/bottom_floating_menu_button.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,14 @@ class _BottomFloatingMenuButtonState extends State<BottomFloatingMenuButton>
575575
isSequential: sequentialDownload,
576576
isCompleted: completed,
577577
context: context);
578+
final addTorrentSnackbar =
579+
addFloodSnackBar(
580+
SnackbarType.information,
581+
'Torrent added successfully',
582+
'Dismiss');
583+
584+
ScaffoldMessenger.of(context)
585+
.showSnackBar(addTorrentSnackbar);
578586
Navigator.pop(context);
579587
},
580588
style: ElevatedButton.styleFrom(

0 commit comments

Comments
 (0)