I am learning Japanese and I'm always mixing these two. Can someone explain what's the difference between them and how are they used?
My only understanding is the first is verb+tte+ita
which is kinda like "it was like that" but the other one I have no idea and it's used in all the same cases.