btimofeev / UniPatcher

A game console ROM patcher for Android
GNU General Public License v3.0
155 stars 18 forks source link

General improvements #49

Closed TacoTheDank closed 3 years ago

TacoTheDank commented 3 years ago

1st commit

2nd commit

3rd commit

4th commit

5th commit

6th commit

7th commit

btimofeev commented 3 years ago

Thank you!

TacoTheDank commented 3 years ago

@btimofeev Thanks for merging!

A small side note relating to your inversion commit here, I chose to do the double negative because while isInvisible returns either INVISIBLE or VISIBLE, isVisible returns either VISIBLE or GONE. Just wanted to make sure your change is actually intentional, since the view being gone means space for it is no longer reserved (while the original code had it simply being invisible) :)

(example here)

btimofeev commented 3 years ago

@TacoTheDank Yes, I got it. Both GONE and INVISIBLE are suitable for current layouts. The code is easier to read without inversion, so I fixed it.

TacoTheDank commented 3 years ago

@btimofeev Alright, thanks for responding :)