michael-lazar / rtv

Browse Reddit from your terminal
MIT License
4.65k stars 278 forks source link

Footer displays 'login' or 'logout' when suitable. #654

Open aiden-sobey opened 5 years ago

aiden-sobey commented 5 years ago

Fixes issue #647

The correct term (login/logout) is now displayed in the footer, respective of if a user is currently logged in or not.

Note: I'm not a big fan of self.FOOTER being capitalised like a constant because.. well, it's not. But changing this broke functionality in the parent class so I decided to keep the diff small. If desired though I can go through and fix this up, the fix will just get a fair bit more complicated.