showDenied method

void showDenied(
  1. bool chat,
  2. int index
)

Implementation

void showDenied(bool chat, int index) {
  delegate?.showDialogPermissions(chat, index, (position) {
    if (position == 1) {
      openAppSettings();
    }
  });
}