mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 09:52:16 -05:00
. Added the following 2 keyboard shortcuts in message list view:
. S: Setttings . L: Last auto sync date time
This commit is contained in:
parent
ec29561d8b
commit
401e5ecf37
@ -457,6 +457,12 @@ public class FolderMessageList extends ExpandableListActivity {
|
|||||||
switch (keyCode) {
|
switch (keyCode) {
|
||||||
case KeyEvent.KEYCODE_C: { onCompose(); return true;}
|
case KeyEvent.KEYCODE_C: { onCompose(); return true;}
|
||||||
case KeyEvent.KEYCODE_Q: { onAccounts(); return true; }
|
case KeyEvent.KEYCODE_Q: { onAccounts(); return true; }
|
||||||
|
case KeyEvent.KEYCODE_S: { onEditAccount(); return true; }
|
||||||
|
case KeyEvent.KEYCODE_L: {
|
||||||
|
long lastAutoCheckTime = mAccount.getLastAutomaticCheckTime();
|
||||||
|
Toast.makeText(this, (new Date(lastAutoCheckTime)).toString(), Toast.LENGTH_LONG).show();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}//switch
|
}//switch
|
||||||
|
|
||||||
//Shortcuts that only work when a message is selected
|
//Shortcuts that only work when a message is selected
|
||||||
|
Loading…
Reference in New Issue
Block a user