diff options
author | Thialfihar <thialfihar@gmail.com> | 2010-06-04 20:21:51 +0000 |
---|---|---|
committer | Thialfihar <thialfihar@gmail.com> | 2010-06-04 20:21:51 +0000 |
commit | e334a36194b10dca03de4a87e0c2e75582e30163 (patch) | |
tree | f2ae0c9febbd7c9c7af462ac227c4fa5b2a7ab17 | |
parent | 4acca3b54f5286902b1a46bda90f485013fcb333 (diff) | |
download | open-keychain-e334a36194b10dca03de4a87e0c2e75582e30163.tar.gz open-keychain-e334a36194b10dca03de4a87e0c2e75582e30163.tar.bz2 open-keychain-e334a36194b10dca03de4a87e0c2e75582e30163.zip |
fix the inbox list for GMail account
-rw-r--r-- | src/org/thialfihar/android/apg/MainActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/thialfihar/android/apg/MainActivity.java b/src/org/thialfihar/android/apg/MainActivity.java index 61b714499..65dd20d95 100644 --- a/src/org/thialfihar/android/apg/MainActivity.java +++ b/src/org/thialfihar/android/apg/MainActivity.java @@ -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)); } |