mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
fix the inbox list for GMail account
This commit is contained in:
parent
4acca3b54f
commit
e334a36194
@ -110,7 +110,7 @@ public class MainActivity extends BaseActivity {
|
|||||||
mAccounts.setOnItemClickListener(new OnItemClickListener() {
|
mAccounts.setOnItemClickListener(new OnItemClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onItemClick(AdapterView<?> arg0, View view, int index, long id) {
|
public void onItemClick(AdapterView<?> arg0, View view, int index, long id) {
|
||||||
String accountName = (String) mAccounts.getSelectedItem();
|
String accountName = (String) mAccounts.getItemAtPosition(index);
|
||||||
startActivity(new Intent(MainActivity.this, MailListActivity.class)
|
startActivity(new Intent(MainActivity.this, MailListActivity.class)
|
||||||
.putExtra(Apg.EXTRA_ACCOUNT, accountName));
|
.putExtra(Apg.EXTRA_ACCOUNT, accountName));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user