letsintegreat / Tagify

1 stars 12 forks source link

added resolve group feature #20

Closed chandansgowda closed 1 year ago

chandansgowda commented 1 year ago

Ref - #5 I have taken the first UID in the group model's users list to check whether the current user is the owner of the group. To delete the group using the docID, I have added a groupID parameter to group model. I have attached a screen recording to demonstrate the functionality.

https://user-images.githubusercontent.com/41890434/206090778-6d11b407-928a-4d8a-9d74-be5f9e016df2.mov

letsintegreat commented 1 year ago

@chandansgowda Thanks for the PR! Everything's working as expected. However, as soon as I delete a group, I am getting this error in the stack:

image

Could you quickly check and figure out what is causing it, and if it can be solved?

chandansgowda commented 1 year ago

Hey @letsintegreat I checked it again and found that this error will not affect the functionality of the app in any way. After deleting the group, I am pushing a new tabscreen instance to the stack and popping all other screens. Here there is a chat screen which is causing the issue. But since we are not using that screen for the deleted group, its not at all a problem. I 'm not sure how this error can be resolved or if it can be resolved or not.