EmmaTellblom / Mensinator

MIT License
38 stars 11 forks source link

Enable renaming of symptom #99

Closed EmmaTellblom closed 1 month ago

EmmaTellblom commented 1 month ago

Create a new function in periodDatabaseHelper which takes in symptomId and (new) symptomname. The function should then update the symptom in the database with a new name.

We will also need implementation of this in the manageSymptomsDialog!

EmmaTellblom commented 1 month ago

This is tagged as a databaseissue, but this does not require a database-upgrade since its just adding a new function in the code.

EmmaTellblom commented 1 month ago

The database function is created and called: renameSymptom

What is left is implementation of renaming symptoms in the manageSymptomsDialog.kt (the UI)