raaifr / SkeduleDocu

User Documentation for Skedule Mobile App
GNU General Public License v3.0
0 stars 0 forks source link

Adding Prayers using the plus button does not display the name typed in #2

Open raaifr opened 1 year ago

raaifr commented 1 year ago

Describe the bug Adding a prayer using the plus button on the botto right corner of the prayers page adds a prayer with the name "Fajr" every time.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'prayers' page
  2. Click on the plus button on the bottom right corner of the page.
  3. type in any name for the prayer name and fill in test data
  4. See erroneous addition in the prayers page named 'Fajr'.

Expected behavior When a prayer is added using the plus button, irrespective of the name, it should display whatever the user has typed in the inputbox in the 'Add Prayer' page.

Screenshots issue2

 
Smartphone:

Additional context This is also observed when Fajr prayer or any other obligatory prayer is added from templates, and we can add the same prayer from the plus button. Ideally, when one compulsory prayer such as Farj, or Maghrib is added via the template or the plus button, adding the same prayer in any other way should be inhibited.

raaifr commented 1 year ago

Currently we are trouble shooting the bug. In the meantime, users can add the custom prayer they would like to add in the sunnah prayers section in settings which then, would be available as a template in prayers page.