mirror of https://github.com/readrops/Readrops.git
Merge pull request #65 from spadarian/password_helper
Added password helper
This commit is contained in:
commit
dad51d334a
|
@ -68,6 +68,9 @@ public class AddAccountActivity extends AppCompatActivity {
|
||||||
binding.providerImage.setImageResource(accountType.getIconRes());
|
binding.providerImage.setImageResource(accountType.getIconRes());
|
||||||
binding.providerName.setText(accountType.getName());
|
binding.providerName.setText(accountType.getName());
|
||||||
binding.addAccountName.setText(accountType.getName());
|
binding.addAccountName.setText(accountType.getName());
|
||||||
|
if (accountType == AccountType.FRESHRSS) {
|
||||||
|
binding.addAccountPasswordLayout.setHelperText(getString(R.string.password_helper));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// TODO : see how to handle this exception
|
// TODO : see how to handle this exception
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
<string name="account_name">Account name</string>
|
<string name="account_name">Account name</string>
|
||||||
<string name="login">Login</string>
|
<string name="login">Login</string>
|
||||||
<string name="password">Password</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="account_settings">Account settings</string>
|
||||||
<string name="add_account">Add account</string>
|
<string name="add_account">Add account</string>
|
||||||
<string name="no_feed">No feed</string>
|
<string name="no_feed">No feed</string>
|
||||||
|
|
Loading…
Reference in New Issue