8000 Qaloon: read Juz quarter labels from the Qaloon database by Mubashir78 · Pull Request #4035 · quran/quran_android · GitHub
[go: up one dir, main page]

Skip to content

Qaloon: read Juz quarter labels from the Qaloon database - #4035

Open
Mubashir78 wants to merge 1 commit into
quran:mainfrom
Mubashir78:fix/3921-qaloon-quarter-labels
Open

Mubashir78 wants to merge 1 commit into
quran:mainfrom
Mubashir78:fix/3921-qaloon-quarter-labels

Conversation

@Mubashir78
Copy link
Copy Markdown

Fixes #3921

Summary

Sets FETCH_QUARTER_NAMES_FROM_DATABASE to true in the Qaloon flavor's QuranFileConstants, so the Juz list quarter labels are read from quran.ar.qaloon.db instead of falling back to the Hafs string array. This matches the approach already used for Warsh, as the issue author proposed.

Verification

  • Single boolean change, one file, no behavior touched outside the Qaloon flavor.
  • I could not run a Gradle build for this PR on my current machine (no Android SDK available at the moment), so this needs CI review; the change is the same constant Warsh already sets to true.
  • Quarter start positions still come from the Hafs data source, as noted in the issue; that part needs upstream data work and is left out of this PR intentionally.

Notes for reviewers: the label strings were not touched, only the source of the labels for the Qaloon flavor.

Qaloon hardcoded FETCH_QUARTER_NAMES_FROM_DATABASE = false, so
JuzListFragment labeled quarters from quarter_prefix_array, which
holds Hafs's quarter openings. Words then disagreed with the shown
ayah numbers. Set the flag to true, matching Warsh, so
JuzListPresenter reads the text at each quarter start from
quran.ar.qaloon.db.

Refs quran#3921 (labels part; quarter start data is a
separate data-source change, not addressed here).

(cherry picked from commit 12005c7)
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.

Qaloon: Juz' list uses Warsh's quarters with Hafs's labels

1 participant

0