File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ()}' ),
You can’t perform that action at this time.
0 commit comments