|
|
|
@ -218,7 +218,7 @@ class _MyFamily extends State<MyFamily> with TickerProviderStateMixin {
|
|
|
|
|
child: Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
SvgPicture.asset("assets/images/new-design/delete.svg", height: 16, color: isFemale ? Color(0Xff5A282E) : Colors.white),
|
|
|
|
|
SvgPicture.asset("assets/images/new-design/delete.svg", height: 22, color: isFemale ? Color(0Xff5A282E) : Colors.white),
|
|
|
|
|
SizedBox(width: 4),
|
|
|
|
|
Texts(TranslationBase.of(context).delete, color: isFemale ? Color(0Xff5A282E) : Colors.white, fontSize: 12, fontWeight: FontWeight.w600),
|
|
|
|
|
],
|
|
|
|
@ -404,7 +404,7 @@ class _MyFamily extends State<MyFamily> with TickerProviderStateMixin {
|
|
|
|
|
child: Icon(
|
|
|
|
|
Icons.delete,
|
|
|
|
|
color: Colors.red,
|
|
|
|
|
size: 12,
|
|
|
|
|
size: 22,
|
|
|
|
|
),
|
|
|
|
|
onTap: () {
|
|
|
|
|
acceptRemoveRequest(result.iD, 4, context);
|
|
|
|
@ -533,7 +533,7 @@ class _MyFamily extends State<MyFamily> with TickerProviderStateMixin {
|
|
|
|
|
request["Status"] = status;
|
|
|
|
|
this.familyFileProvider.acceptRejectFamily(request).then((value) async {
|
|
|
|
|
await refreshFamily(context);
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
await GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -553,7 +553,7 @@ class _MyFamily extends State<MyFamily> with TickerProviderStateMixin {
|
|
|
|
|
List<GetAllSharedRecordsByStatusList> sentRecordsList = [];
|
|
|
|
|
|
|
|
|
|
Future getFamilyFiles() async {
|
|
|
|
|
late GetAllSharedRecordsByStatusResponse familySharedRecords;
|
|
|
|
|
GetAllSharedRecordsByStatusResponse? familySharedRecords;
|
|
|
|
|
if (await sharedPref.getObject(FAMILY_FILE) != null) {
|
|
|
|
|
familySharedRecords = GetAllSharedRecordsByStatusResponse.fromJson(await sharedPref.getObject(FAMILY_FILE));
|
|
|
|
|
}
|
|
|
|
@ -585,6 +585,7 @@ class _MyFamily extends State<MyFamily> with TickerProviderStateMixin {
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
} catch (ex) {
|
|
|
|
|
familySharedRecords = GetAllSharedRecordsByStatusResponse(getAllSharedRecordsByStatusList: []);
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|