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:
Go to 'prayers' page
Click on the plus button on the bottom right corner of the page.
type in any name for the prayer name and fill in test data
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
Smartphone:
Device: Pixel 6
OS: Android 13 API 33
App Version 1.3 Build 123
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.
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.
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:
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
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.