🐛 Fix share link issue

This commit is contained in:
LittleSheep 2024-07-27 20:37:04 +08:00
parent 425c79d6fc
commit 3ca98fa58c
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class _PostActionState extends State<PostAction> {
'postShareContent'.trParams({ 'postShareContent'.trParams({
'username': widget.item.author.nick, 'username': widget.item.author.nick,
'content': widget.item.body['content'] ?? 'no content', 'content': widget.item.body['content'] ?? 'no content',
'link': 'https://sn.solsynth.dev/posts/${widget.item.id}', 'link': 'https://sn.solsynth.dev/posts/view/${widget.item.id}',
}), }),
subject: 'postShareSubject'.trParams({ subject: 'postShareSubject'.trParams({
'username': widget.item.author.nick, 'username': widget.item.author.nick,

View File

@ -2,7 +2,7 @@ name: solian
description: "The Solar Network App" description: "The Solar Network App"
publish_to: "none" publish_to: "none"
version: 1.1.0+49 version: 1.1.0+50
environment: environment:
sdk: ">=3.3.4 <4.0.0" sdk: ">=3.3.4 <4.0.0"