Telegram icon indicating copy to clipboard operation
Telegram copied to clipboard

Deleted unused code and parameters in PhotoViewer and MediaController

Open artjimlop opened this issue 9 years ago • 0 comments

Yesterday, I found lot of commented code at PhotoViewer and MediaController so I decided help a little with it. I've just removed all commented code I've seen and unused parameters at methods declarations. The main reason is YAGNI: you ain't gonna need it, and it only increases complexity in the code. The reason why I've deleted commented code lines can be found in this commit: https://github.com/DrKLO/Telegram/commit/a369df53fa05dc386ccad0451dfeac747ad2185b

Hope it helps!

artjimlop avatar May 13 '16 09:05 artjimlop