🐛 Bug fixes

🐛 Fix cannot scan QR code from share post via image
This commit is contained in:
2024-12-13 18:49:46 +08:00
parent 210c73a831
commit a3a0e8c7a2
8 changed files with 17 additions and 15 deletions

View File

@ -53,7 +53,7 @@ class SnPostContentProvider {
if (out.body['thumbnail'] != null) {
rids.add(out.body['thumbnail']);
}
if (out.repostId != null) {
if (out.repostTo != null) {
out = out.copyWith(
repostTo: await _preloadRelatedDataSingle(out.repostTo!),
);