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

Fix Arabic Number Bug and Improve Notes Sharing #667

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

yismailuofa
Copy link
Contributor

@yismailuofa yismailuofa commented Sep 17, 2024

  1. Fixes Tafseer view and notes view has English numbers for Ayat despite app language being Arabic #666,
    I think maybe Apple changed the locale keys in the new update ? The docs say it uses BCP-47. So updated the string to use this.

  2. Refactors the sharing abit to make it more consistent, since sometimes English and Arabic would be on the same line, now we add newlines properly I think.

  3. Updates the ayah sharing to use the same logic as copy. Before copy would have newlines and sharing didn't but now they should both have it.

Image 7630 Image 7631

@yismailuofa yismailuofa changed the title Fix Arabic Number Big and Improve Notes Sharing Fix Arabic Number Bug and Improve Notes Sharing Sep 17, 2024
Copy link

codecov bot commented Sep 17, 2024

Codecov Report

Attention: Patch coverage is 6.66667% with 14 lines in your changes missing coverage. Please review.

Project coverage is 39.56%. Comparing base (d9fc366) to head (c40fb5c).
Report is 27 commits behind head on main.

Files with missing lines Patch % Lines
Features/NotesFeature/NotesViewModel.swift 0.00% 12 Missing ⚠️
Features/AyahMenuFeature/AyahMenuViewModel.swift 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #667      +/-   ##
==========================================
- Coverage   40.92%   39.56%   -1.37%     
==========================================
  Files         525      526       +1     
  Lines       20880    19505    -1375     
==========================================
- Hits         8546     7717     -829     
+ Misses      12334    11788     -546     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mohamede1945 mohamede1945 merged commit 288e841 into quran:main Sep 19, 2024
3 checks passed
@mohamede1945
Copy link
Collaborator

Jazak Allah Khyrn Youssef for fixing them.

I tried to repro #666 but I couldn't.

@yismailuofa
Copy link
Contributor Author

@mohamede1945 For reference, I’m on ios18. Maybe #666 is as well?

@mohamede1945
Copy link
Collaborator

Oh, I see. I'm still on ios 17. Also, I've sent a new version for review.

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.

Tafseer view and notes view has English numbers for Ayat despite app language being Arabic
2 participants