mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-13 14:48:04 -05:00
remove redundant cast Button to WelcomeMessage
findViewById(R.id.next) and findViewById(R.id.import_settings) are Button so it’s redundant to cast it to Button
This commit is contained in:
parent
63047e0ac6
commit
f5cac2c71f
@ -33,8 +33,8 @@ public class WelcomeMessage extends K9Activity implements OnClickListener{
|
||||
welcome.setText(HtmlConverter.htmlToSpanned(getString(R.string.accounts_welcome)));
|
||||
welcome.setMovementMethod(LinkMovementMethod.getInstance());
|
||||
|
||||
((Button) findViewById(R.id.next)).setOnClickListener(this);
|
||||
((Button) findViewById(R.id.import_settings)).setOnClickListener(this);
|
||||
findViewById(R.id.next).setOnClickListener(this);
|
||||
findViewById(R.id.import_settings).setOnClickListener(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user