Closed stepansnigirev closed 4 years ago
In the tutorial we use classes for screens that leads to much cleaner code. See https://github.com/diybitcoinhardware/f469-disco/blob/master/docs/tutorial/4_miniwallet/readme.md for example. We should use similar approach in the project as well. Functions are ugly.
Started doing it in https://github.com/cryptoadvance/specter-diy/pull/34
Kinda there, we just continue refactoring with classes in mind.
In the tutorial we use classes for screens that leads to much cleaner code. See https://github.com/diybitcoinhardware/f469-disco/blob/master/docs/tutorial/4_miniwallet/readme.md for example. We should use similar approach in the project as well. Functions are ugly.