mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-31 15:20:09 -05:00
Fix r1436
This commit is contained in:
parent
80ae0402e5
commit
48c7189d03
@ -397,7 +397,8 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
|||||||
Account[] accounts = Preferences.getPreferences(this).getAccounts();
|
Account[] accounts = Preferences.getPreferences(this).getAccounts();
|
||||||
for (Account acc : accounts)
|
for (Account acc : accounts)
|
||||||
{
|
{
|
||||||
if (acc.isStoreAttachmentOnSdCard())
|
if (acc.isStoreAttachmentOnSdCard()
|
||||||
|
&& !Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED))
|
||||||
{
|
{
|
||||||
Toast.makeText(this, R.string.sd_card_skip, Toast.LENGTH_LONG).show();
|
Toast.makeText(this, R.string.sd_card_skip, Toast.LENGTH_LONG).show();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user