Added password helper (closes #58)

This commit is contained in:
José Padarian 2020-04-12 22:42:40 +10:00
parent 2fd2f21e6f
commit 7db8c6d662
2 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,9 @@ 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) {
binding.addAccountPasswordLayout.setHelperText(getString(R.string.password_helper));
}
}
} catch (Exception e) {
// TODO : see how to handle this exception

View File

@ -51,6 +51,7 @@
<string name="account_name">Account name</string>
<string name="login">Login</string>
<string name="password">Password</string>
<string name="password_helper">This is your FreshRSS API password (Configuration > Profile)</string>
<string name="account_settings">Account settings</string>
<string name="add_account">Add account</string>
<string name="no_feed">No feed</string>