Fix potential ClassCastException
Implemented the fix suggested by zjw in pull request #463 https://github.com/k9mail/k-9/pull/463 Fixes issue 5928
This commit is contained in:
parent
16df038157
commit
6a6e9979e2
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ public class ChooseFolder extends K9ListActivity {
|
|||
Intent result = new Intent();
|
||||
result.putExtra(EXTRA_ACCOUNT, mAccount.getUuid());
|
||||
result.putExtra(EXTRA_CUR_FOLDER, mFolder);
|
||||
String destFolderName = (String)((TextView)view).getText();
|
||||
String destFolderName = ((TextView)view).getText().toString();
|
||||
if (mHeldInbox != null && getString(R.string.special_mailbox_name_inbox).equals(destFolderName)) {
|
||||
destFolderName = mHeldInbox;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue