mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-23 23:48:51 -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() {
|
||||
@Override
|
||||
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)
|
||||
.putExtra(Apg.EXTRA_ACCOUNT, accountName));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user