Closed ir0nstone closed 2 years ago
Values createdOn
and userID
are now added to posts
Commit 990896c792bf103cb1376a76ee81a47b7ea7c4a8
links userID
and createdOn
and shows it all on the feed. Separate collection has been created on Firebase linking userID
to username
, but difficulty incorporating that since a retreival is done async
but the functions we need to run it in are not. May need to use two FutureBuilder
classes nested, which I do not want to do.
Currently the post only has the
title
andtext
fields, meaning they aren't assigned to a specific posting account. Somehow link to the unique ID so we can extract the username of the person posting.