Skip to content

Commit

Permalink
better null check toast
Browse files Browse the repository at this point in the history
  • Loading branch information
ErBWs committed Dec 8, 2024
1 parent 773bf27 commit b3a393d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pages/player/player_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,8 @@ class _PlayerItemState extends State<PlayerItem>
} else {
SmartDialog.showToast('截图保存失败:${result.errorMessage}');
}
} catch (_) {
SmartDialog.showToast('截图失败');
} catch (e) {
SmartDialog.showToast('截图失败:$e');
}
}

Expand Down

0 comments on commit b3a393d

Please sign in to comment.