Better accountType comparison
This commit is contained in:
parent
7db8c6d662
commit
65f89f6d2f
@ -68,7 +68,7 @@ public class AddAccountActivity extends AppCompatActivity {
|
||||
binding.providerImage.setImageResource(accountType.getIconRes());
|
||||
binding.providerName.setText(accountType.getName());
|
||||
binding.addAccountName.setText(accountType.getName());
|
||||
if (accountType.getName() == R.string.freshrss) {
|
||||
if (accountType == AccountType.FRESHRSS) {
|
||||
binding.addAccountPasswordLayout.setHelperText(getString(R.string.password_helper));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user