showAttachmentsView method

dynamic showAttachmentsView(
  1. BuildContext context
)

Implementation

showAttachmentsView(BuildContext context) async {
  var busyStatus = !profile.isGroupProfile.checkNull()
      ? await Mirrorfly.isBusyStatusEnabled()
      : false;
  if (!busyStatus.checkNull()) {
    //if (await AppUtils.isNetConnected()) {
    focusNode.unfocus();
    if (context.mounted) showBottomSheetAttachment(context);
    /*} else {
      toToast(AppConstants.noInternetConnection);
    }*/
  } else {
    //show busy status popup
    if (context.mounted) {
      showBusyStatusAlert(showBottomSheetAttachment(context), context);
    }
  }
}