darkmoonight / Rain

🌦️ Weather application
MIT License
667 stars 47 forks source link

Improved code quality by making code dry in weather.dart #110

Closed shatanikmahanty closed 11 months ago

shatanikmahanty commented 11 months ago

Hi team, really great work with this project. I found the weather.dart file had lots of repetitive code which would cause maintainability issues in the feature and also accessing a variable multiple times causes performance issues. I made the code much more dry and promoted reusability through this PR.

Leonavichus commented 11 months ago

Thanks a lot for improving the code!