Skip to content

Commit

Permalink
fix(search-and-discover): download print fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
marwan2232004 committed Dec 18, 2024
1 parent 34dcf3b commit 1892e25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/features/chat/view/widget/download_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ class DownloadWidgetState extends State<DownloadWidget> {

Future<void> _handelTap() async {
if (widget.url == null) {
debugPrint('DownloadWidgetState._handelTap: URL is null');
showToastMessage('File has been deleted ask the sender to resend it');
debugPrint('URL is null');
showToastMessage('Media not found');
return;
}
if (USE_MOCK_DATA) {
debugPrint('DownloadWidgetState._handelTap: ${widget.url}');
debugPrint('${widget.url}');
widget.onTap(widget.url);
return;
}
Expand Down

0 comments on commit 1892e25

Please sign in to comment.