🐛 Fix unable to repost

This commit is contained in:
2024-12-07 23:40:26 +08:00
parent 2cbb7fb29e
commit 76cf08830b
7 changed files with 25 additions and 34 deletions

View File

@ -220,7 +220,7 @@ class PostWriteController extends ChangeNotifier {
if (reposting != null) {
final post = await pt.getPost(reposting);
replyingPost = post;
repostingPost = post;
}
} catch (err) {
if (!context.mounted) return;