fix(vacaciones): edit and delete vacation ranges
Vacaciones ranges could be created but never edited or removed -- EstadoAlarmas already had crearRangoVacaciones/eliminarRangoVacaciones with no UI affordance reaching them, and no update path at all. Add EstadoAlarmas.editarRangoVacaciones and wire tap-to-edit / swipe-to-delete (with confirmation) onto every range card, mirroring the alarm list's own Dismissible + confirm-dialog pattern exactly. This covers the active-range hero too: a freshly created range is active immediately and only ever renders there, never in the scheduled/past lists, so it needed the same affordances or a user's very first range could never be fixed.
This commit is contained in:
@@ -1140,6 +1140,16 @@ class AppLocalizationsBn extends AppLocalizations {
|
||||
@override
|
||||
String get newVacationRangeTitle => 'নতুন ছুটির পরিসর';
|
||||
|
||||
@override
|
||||
String get editVacationRangeTitle => 'ছুটির পরিসর সম্পাদনা করুন';
|
||||
|
||||
@override
|
||||
String get vacationDeleteConfirmTitle => 'ছুটির পরিসর মুছবেন?';
|
||||
|
||||
@override
|
||||
String get vacationDeleteConfirmMessage =>
|
||||
'এই পদক্ষেপ ফিরিয়ে নেওয়া যাবে না।';
|
||||
|
||||
@override
|
||||
String get startField => 'শুরু';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user