File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -106,12 +106,15 @@ class _PeriodSettingsScreenState extends State<PeriodSettingsScreen> {
106106 final l10n = AppLocalizations .of (context)! ;
107107 final symptomUsageCount = await periodsRepo.getSymptomUseCount (symptom);
108108
109- var description = "'$symptom ' will no longer be available when logging a period." ;
109+ var description = "'$symptom ' will no longer be available when logging a period.\n\n " ;
110110
111- if (symptomUsageCount == 1 ) {
112- description += "\n\n There is already $symptomUsageCount period log with this symptom!\n This log will not be changed." ;
111+ if (symptomUsageCount == 0 ) {
112+ description += "There are currently no period logs with this symptom!" ;
113+ }
114+ else if (symptomUsageCount == 1 ) {
115+ description += "There is already $symptomUsageCount period log with this symptom!\n This log will not be changed." ;
113116 } else if (symptomUsageCount > 1 ) {
114- description += "\n\n There are $symptomUsageCount period logs with this symptom!\n These logs will not be changed." ;
117+ description += "There are $symptomUsageCount period logs with this symptom!\n These logs will not be changed." ;
115118 }
116119
117120 if (mounted) {
You can’t perform that action at this time.
0 commit comments