Specifically
\hiderowcolors ->\noalign {\global \@rowcolorsfalse \@norowcolor }
This is my current code (edited to fit requirements). I started using NiceTabular because hlines would appear/disappear on pdf readers due to zooming and now I can't get it to work.
\documentclass{article}\usepackage[utf8]{inputenc}\usepackage{longtable}\usepackage[dvipsnames,table]{xcolor}\usepackage{pdfcomment}\usepackage{graphicx}\usepackage{geometry}\geometry{tmargin=2cm,bmargin=2cm}\usepackage{currfile}\usepackage{nicematrix}\usepackage{float}\title{Title example}\author{}\date{}\definecolor{colorNALA}{HTML}{B70043}\definecolor{lightgray}{HTML}{EDEDED}\definecolor{lavender}{HTML}{E8E2FF}\begin{document}\maketitle\renewcommand{\arraystretch}{1.3}\rowcolors{1}{lightgray}{lightgray} \centering\begin{table}\hiderowcolors\caption{Caption example}\\\showrowcolors\hline\rowcolor{colorNALA}&\color{white}{column1}& \color{white}{column2}& \color{white}{column3}& \color{white}{column4}& \color{white}{column5}\\ \hline \endhead \hline\hline \endfoot\begin{NiceTabular}{|c|l|c|c|c|c|}0 & Text & 0 & 1 & 0 & 0 \\\hline\hline\rowcolor{lavender}&Total& 0 & 1 & 0 & 0\\\hline\rowcolor{lavender}&Total2&\multicolumn{4}{c|}{1}\end{NiceTabular}\end{table}\end{document}
Sketch of what it looked like without NiceTabular (aside from the font, obviously. This is temporary, I'll add the correct font in a sec). What I wanted from NiceTabular was for it to remove this zoom-dependent appearance of hlines.