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