IceCubesApp icon indicating copy to clipboard operation
IceCubesApp copied to clipboard

Timeline: restore the selected timeline at the next startup

Open mofmofmofneko opened this issue 2 years ago • 2 comments

Closes: #581

mofmofmofneko avatar Feb 01 '23 06:02 mofmofmofneko

I understand the feature request, but I might do it in a more safe way. Right now encoding the title could lead to many problem down the line. Better make the enum itself Codable so we could encode the whole filter and just re init it. RawRepresentable probably need to be extended to fit an enum or a Codable in it.

Dimillian avatar Feb 01 '23 07:02 Dimillian

Thank you for your advice. I agree with your opinion and will revise it later.

mofmofmofneko avatar Feb 01 '23 07:02 mofmofmofneko

Closing it for now, I've made the timeline filter even more complexe, and this create a lot of side effects / issues. Will think about how to save / restore it correctly.

Dimillian avatar Feb 06 '23 11:02 Dimillian