mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-08 04:08: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
19b180a3b6
commit
3b17aa0496
@ -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