mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
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
@ -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 New Issue
Block a user