Merge pull request #65 from spadarian/password_helper

Added password helper
This commit is contained in:
Shinokuni 2020-04-16 19:25:12 +02:00 committed by GitHub
commit dad51d334a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.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

View File

@ -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>