Special display for spotify activity

This commit is contained in:
2025-11-02 16:49:39 +08:00
parent 0509f37c96
commit f08b9e057f
3 changed files with 502 additions and 289 deletions

View File

@@ -36,8 +36,9 @@ class _EmbedLinkWidgetState extends State<EmbedLinkWidget> {
Future<void> _checkIfSquare() async {
if (widget.link.imageUrl == null ||
widget.link.imageUrl!.isEmpty ||
widget.link.imageUrl == widget.link.faviconUrl)
widget.link.imageUrl == widget.link.faviconUrl) {
return;
}
try {
final image = CachedNetworkImageProvider(widget.link.imageUrl!);