|
|
|
|
@ -321,7 +321,7 @@ class _FamilyCardsState extends State<FamilyCards> {
|
|
|
|
|
: Expanded(
|
|
|
|
|
child: CustomButton(
|
|
|
|
|
height: 40.h,
|
|
|
|
|
text: LocaleKeys.confirm.tr(),
|
|
|
|
|
text: LocaleKeys.acceptLbl.tr(),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
navigationService.pop();
|
|
|
|
|
widget.onSelect(profile);
|
|
|
|
|
@ -329,6 +329,7 @@ class _FamilyCardsState extends State<FamilyCards> {
|
|
|
|
|
backgroundColor: AppColors.lightGreenButtonColor,
|
|
|
|
|
borderColor: AppColors.lightGreenButtonColor,
|
|
|
|
|
textColor: AppColors.textGreenColor,
|
|
|
|
|
borderWidth: 0,
|
|
|
|
|
icon: null,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
@ -336,7 +337,7 @@ class _FamilyCardsState extends State<FamilyCards> {
|
|
|
|
|
Expanded(
|
|
|
|
|
child: CustomButton(
|
|
|
|
|
height: 40.h,
|
|
|
|
|
text: profile.status == FamilyFileEnum.active.toInt ? LocaleKeys.removeMember.tr() : LocaleKeys.cancel.tr(),
|
|
|
|
|
text: profile.status == FamilyFileEnum.active.toInt ? LocaleKeys.removeMember.tr() : LocaleKeys.rejectView.tr(),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
navigationService.pop();
|
|
|
|
|
widget.onRemove(profile);
|
|
|
|
|
|