Some code examples
I don't know whose code that is but I am definetelly quite unhappy to find such masterpieces in our project.
- Code: Select all
// Show or hide the set unlocking button
if (qCtrl.getFormatNumberUnlockable() > 0) {
view0.getBtnUnlock().setVisible(true);
} else {
view0.getBtnUnlock().setVisible(false);
}
- Code: Select all
view0.getBtnUnlock().setVisible(qCtrl.getFormatNumberUnlockable() > 0)