Auto-night mode doesn't switch back to light theme
Auto-night mode does not work as intended when set to either system default, or adaptive, or schduled by time, or scheduled by sunrise/sunset time. In both cases Telegram switch to dark mode, following…
- https://github.com/beeb/pancaketrade/blob/e4227ce9ed7a40cc460170d23c4c0276cae0ad8a/pancaketrade/utils/generic.py#L82
- https://github.com/beeb/pancaketrade/blob/e4227ce9ed7a40cc460170d23c4c0276cae0ad8a/pancaketrade/bot.py#L254
- https://github.com/beeb/pancaketrade/blob/e4227ce9ed7a40cc460170d23c4c0276cae0ad8a/pancaketrade/bot.py#L265
So the fact that you don’t see any error might be because they are all handled and therefore not logged.
Also, for the future, I suggest to send a Simple MWE where you can reproduce the issue instead of a long code, check here how to make a good MWE: https://stackoverflow.com/help/minimal-reproducible-example