It means nothing at all.
- Ukraine has a very tiny bitcoin market compared to the rest of the world combined so the laws there don't affect bitcoin or its adoption or the market in general.
- They didn't accept bitcoin as legal tender or something significant like that, they finally passed the law that would legalize what the small number of people in Ukraine were using already. So it won't change much about adoption there either.
- Ukraine regime has already fallen and Russia won't leave unless they completely remove them. Any laws they pass may not mean much in the aftermath.
Anyway, I don't think this was passed because of the war,
I think it was considering the fact that the Ukraine regime was officially begging for bitcoin donations on the internet and they raised a considerable amount, which is a sad thing because not a single satoshi will reach regular people or ease their suffering.