1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00

minor code cleanup

This commit is contained in:
Jesse Vincent 2010-12-25 19:28:58 +00:00
parent 91ab617807
commit 9f24ea2b03

View File

@ -1062,8 +1062,7 @@ public class MessageView extends K9Activity implements OnClickListener
} }
else // Account.ScrollButtons.KEYBOARD_AVAIL else // Account.ScrollButtons.KEYBOARD_AVAIL
{ {
final Configuration config = this.getResources().getConfiguration(); if (this.getResources().getConfiguration().hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_NO)
if (config.hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_NO)
{ {
scrollButtons(); scrollButtons();
} }
@ -1084,8 +1083,7 @@ public class MessageView extends K9Activity implements OnClickListener
} }
else // Account.ScrollButtons.KEYBOARD_AVAIL else // Account.ScrollButtons.KEYBOARD_AVAIL
{ {
final Configuration config = this.getResources().getConfiguration(); if (this.getResources().getConfiguration().hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_NO)
if (config.hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_NO)
{ {
scrollMoveButtons(); scrollMoveButtons();
} }