Bios-Marcel / cordless

The Discord terminal client you never knew you wanted.
BSD 3-Clause "New" or "Revised" License
1.65k stars 136 forks source link

Focus code can be improved #355

Closed Bios-Marcel closed 3 years ago

Bios-Marcel commented 3 years ago

With the refactor in #354 we were able to delete a lot of code and make everything simpler. However, part of the focus-logic is not in the same place. The problematic functions are SwitchToGuildsPage and SwitchToFriendsPage. The approach AP-Hunt suggested would solve this problem. However, I am gonna post-pone applying that suggestion til further cleanup is done (Cause I am lazy).

Bios-Marcel commented 3 years ago

It's fine as it is now