Add title to AccountTypeListActivity
This commit is contained in:
parent
dd2903dd32
commit
e43636f943
@ -46,6 +46,11 @@ public class AccountTypeListActivity extends AppCompatActivity {
|
||||
|
||||
fromMainActivity = getIntent().getBooleanExtra("fromMainActivity", false);
|
||||
|
||||
if (fromMainActivity)
|
||||
setTitle(R.string.add_account);
|
||||
else
|
||||
setTitle(R.string.create_account);
|
||||
|
||||
adapter = new AccountTypeListAdapter(accountType -> {
|
||||
if (!(accountType == AccountType.LOCAL)) {
|
||||
Intent intent = new Intent(getApplicationContext(), AddAccountActivity.class);
|
||||
|
@ -73,5 +73,6 @@
|
||||
<string name="filter_newest">Du plus récent au plus ancien</string>
|
||||
<string name="filter_oldest">Du plus ancien au plus récent</string>
|
||||
<string name="login_failed">La connexion a échoué. Veuillez vérifier vos identifiants</string>
|
||||
<string name="create_account">Créer un compte</string>
|
||||
|
||||
</resources>
|
@ -79,4 +79,5 @@
|
||||
<string name="filter_newest">Newest to oldest</string>
|
||||
<string name="filter_oldest">Oldest to newsest</string>
|
||||
<string name="login_failed">Login failed. Please check your credentials</string>
|
||||
<string name="create_account">Create account</string>
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user