mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-15 14:05:05 -05:00
preferences doesn't actually tie to an account. it shouldn't be in the account context menu
This commit is contained in:
parent
462d4098e0
commit
4f42907315
@ -8,8 +8,6 @@
|
|||||||
android:title="@string/empty_trash_action" />
|
android:title="@string/empty_trash_action" />
|
||||||
<item android:id="@+id/edit_account"
|
<item android:id="@+id/edit_account"
|
||||||
android:title="@string/account_settings_action" />
|
android:title="@string/account_settings_action" />
|
||||||
<item android:id="@+id/edit_prefs"
|
|
||||||
android:title="@string/preferences_action" />
|
|
||||||
<item android:id="@+id/compact"
|
<item android:id="@+id/compact"
|
||||||
android:title="@string/compact_action" />
|
android:title="@string/compact_action" />
|
||||||
<item android:id="@+id/clear"
|
<item android:id="@+id/clear"
|
||||||
|
@ -468,9 +468,6 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
|||||||
Account account = (Account)getListView().getItemAtPosition(menuInfo.position);
|
Account account = (Account)getListView().getItemAtPosition(menuInfo.position);
|
||||||
switch (item.getItemId())
|
switch (item.getItemId())
|
||||||
{
|
{
|
||||||
case R.id.edit_prefs:
|
|
||||||
onEditPrefs();
|
|
||||||
break;
|
|
||||||
case R.id.delete_account:
|
case R.id.delete_account:
|
||||||
onDeleteAccount(account);
|
onDeleteAccount(account);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user