I am so sorry for your and her loss... I have seen that in a budgie that lost his mate, I had to give him a baby budgie to raise, that helped him focus on something outside of his depression.
I had a duck lose her only duck friend (she never liked the chickens), she was never the same again...