implement the damn thing

This commit is contained in:
krawieck 2021-01-09 02:21:58 +01:00
parent 51f0fe4ef4
commit 527b0adfb6
1 changed files with 3 additions and 2 deletions

View File

@ -60,9 +60,10 @@ class FullPostPage extends HookWidget {
// VARIABLES
final post = fullPostSnap.hasData ? fullPostSnap.data.post : this.post;
final post = updatedPost.value?.post ??
(fullPostSnap.hasData ? fullPostSnap.data.post : this.post);
final fullPost = fullPostSnap.data;
final fullPost = updatedPost.value ?? fullPostSnap.data;
// FUNCTIONS