AOSSIE-Org / Resonate

Clubhouse, but Open Source. A social voice platform.
GNU General Public License v3.0
187 stars 132 forks source link

Enhance]:Replace-deperacted-OnWillPopScope-with-PopScope #294

Closed kareemabdeen closed 4 months ago

kareemabdeen commented 6 months ago

Description

Now, instead of using the deprecated OnWillPopScope, you can simply use PopScope to achieve the same functionality in a more efficient and future-proof way, also Refactored save changes Dialog as separated function in the app utils files to be separated from the ui code

Fixes #270

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

with my emulator

Please include screenshots below if applicable. here is how app functions after the changes had done https://github.com/AOSSIE-Org/Resonate/assets/118139061/ced336de-b05b-4af5-8386-18b1bd84f220

Checklist:

Maintainer Checklist

kareemabdeen commented 6 months ago

@chandansgowda if there's any problem on the branch please let me know

Aarush-Acharya commented 4 months ago

Hey @kareemabdeen, This is good to merge will merge once the PR prior to this are resolved

Aarush-Acharya commented 4 months ago

Hey @kareemabdeen this is already taken care of in #274

vrundraval24 commented 4 months ago

Hey, @Aarush-Acharya It is a duplicate, but the original PR has some conflicts and the contributor is not responding so I am merging this. I am removing the duplicate tag and also closing the original PR without merging.

Good work @kareemabdeen 🚀