Skip to content

Commit 200ad7a

Browse files
Added a vertical bar at first line to improve the accessibility.
1 parent c31c5f3 commit 200ad7a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

core_functions/quran_class.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def get_text(self):
257257
if not self.data_list:
258258
return ""
259259

260-
text = "" if self.current_pos == 1 else "\n"
260+
text = "" if self.current_pos == 1 else "|\n"
261261
current_position = 0
262262
ayah_data = AyahData()
263263

@@ -286,9 +286,7 @@ def get_text(self):
286286
last_position = current_position - 1
287287
ayah_data.insert(ayah[1], ayah[3], ayah[4], first_position, last_position)
288288

289-
if not SettingsManager.current_settings["reading"]["auto_page_turn"] or self.current_pos == self.max_pos:
290-
text = text.strip("\n")
291-
289+
text = text.strip()
292290
self.text = text
293291
self.ayah_data = ayah_data
294292

0 commit comments

Comments
 (0)