Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove the successful download for quran dialog #1447

Closed
wants to merge 1 commit into from

Conversation

YassinNouh21
Copy link
Contributor

Here’s your updated PR description based on the patch and the details you provided:

📝 Summary

This PR fixes #1446

This PR refactors the DownloadQuranDialog widget to remove the business need for displaying a dialog upon successful Quran download. The success state is now handled silently by closing the current dialog without showing a success message or dialog to the user. This change simplifies the user experience and reduces potential performance overhead, especially on devices with limited hardware capabilities.

Tests

🧪 Use Case 1
💬 Description:
Launch the app and trigger a Quran download. Verify the following:
• Once the download is successful, the dialog is dismissed automatically.
• No success dialog or additional UI elements are displayed.
• The state transitions smoothly without affecting the user experience.

📷 Screenshots or GIFs (if applicable):
(Not applicable for this PR, as no new UI elements are introduced.)

@YassinNouh21 YassinNouh21 linked an issue Nov 30, 2024 that may be closed by this pull request
@YassinNouh21 YassinNouh21 self-assigned this Nov 30, 2024
@YassinNouh21 YassinNouh21 deleted the hotfix/remove-download-dialog branch December 1, 2024 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Success Dialog Handling in DownloadQuranDialog
1 participant