HackSlashNITP / LibraLink

In an era of technological advancements, the "LibraLink" project aims to revolutionize the library experience at NIT Patna. This innovative application seeks to bridge the gap between traditional library services and modern digital convenience.
MIT License
4 stars 9 forks source link

changed database from userdata to user #71

Closed divyansh12git closed 8 months ago

divyansh12git commented 8 months ago

Changes Made

This pull request introduce changing of "UserData" collection to "User" collection from firebase.

1).The data is fetched for the current user using FirebaseAuth.instance.currentUser, 2).inside that user we have Account collection, which is used in stream and all the docs had been fetched. 3). The Widget MyListViewBuilder in homepage.dart is correspondingly changed.

db AD