Skip to content

Commit 3b3fa86

Browse files
committed
new
1 parent 8be2c09 commit 3b3fa86

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/screens/foryou.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2863,7 +2863,7 @@ print('[DEBUG] Parsed profileTheme color for @${userSnapshot.data?['username']}:
28632863
),
28642864
onPressed: () {
28652865
_updateShareCount(post);
2866-
Share.share('Check out this post on Ashur: ${post['desc']}\n${post['pic']}');
2866+
SharePlus.instance.share(ShareParams(text:'Check out this post on Ashur: ${post['desc']}\n${post['pic']}'));
28672867
},
28682868
),
28692869
),
@@ -4164,7 +4164,7 @@ print('[DEBUG] Parsed profileTheme color for @${userSnapshot.data?['username']}:
41644164
),
41654165
onPressed: () {
41664166
_updateShareCount(post);
4167-
Share.share('Check out this post on Ashur: ${post['desc']}${post['pic'] != null ? '\n${post['pic']}' : ''}');
4167+
SharePlus.instance.share(ShareParams(text:'Check out this post on Ashur: ${post['desc']}${post['pic'] != null ? '\n${post['pic']}' : ''}'));
41684168
},
41694169
),
41704170
),
@@ -5223,7 +5223,7 @@ print('[DEBUG] Parsed profileTheme color for @${userSnapshot.data?['username']}:
52235223
icon: Icon(Icons.share_outlined, color: colorScheme.primary),
52245224
onPressed: () {
52255225
_updateShareCount(post);
5226-
Share.share('Check out this post on Ashur: ${post['desc'] ?? ''}\n${post['pic'] ?? ''}');
5226+
SharePlus.instance.share(ShareParams(text:'Check out this post on Ashur: ${post['desc'] ?? ''}\n${post['pic'] ?? ''}'));
52275227
},
52285228
),
52295229
Text('${((post['shares'] ?? 0) as num).toInt()}'),

0 commit comments

Comments
 (0)