Remove redundant type casts (#1929)

This commit is contained in:
Edward Savage 2018-11-03 08:51:47 -04:00 committed by Adam Jones
parent ef73204cc0
commit b2e5ad0c26
6 changed files with 12 additions and 12 deletions

View file

@ -61,7 +61,7 @@ public class WelcomePagerAdapter extends PagerAdapter {
LayoutInflater inflater = LayoutInflater.from(container.getContext());
ViewGroup layout = (ViewGroup) inflater.inflate(PAGE_LAYOUTS[position], container, false);
if( BuildConfig.FLAVOR == "beta"){
TextView textView = (TextView) layout.findViewById(R.id.welcomeYesButton);
TextView textView = layout.findViewById(R.id.welcomeYesButton);
if( textView.getVisibility() != View.VISIBLE){
textView.setVisibility(View.VISIBLE);
}