mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
make the 'should we show animations' boolena actually 'showAnimations'
instead of isAnimations.
This commit is contained in:
parent
0c7d4825cc
commit
b3e6844e44
@ -502,7 +502,7 @@ public class K9 extends Application
|
||||
mStartIntegratedInbox = startIntegratedInbox;
|
||||
}
|
||||
|
||||
public static boolean isAnimations()
|
||||
public static boolean showAnimations()
|
||||
{
|
||||
return mAnimations;
|
||||
}
|
||||
|
@ -249,13 +249,13 @@ public class MessageView extends K9Activity implements OnClickListener
|
||||
case KeyEvent.KEYCODE_J:
|
||||
case KeyEvent.KEYCODE_P:
|
||||
{
|
||||
onPrevious(K9.isAnimations());
|
||||
onPrevious(K9.showAnimations());
|
||||
return true;
|
||||
}
|
||||
case KeyEvent.KEYCODE_N:
|
||||
case KeyEvent.KEYCODE_K:
|
||||
{
|
||||
onNext(K9.isAnimations());
|
||||
onNext(K9.showAnimations());
|
||||
return true;
|
||||
}
|
||||
case KeyEvent.KEYCODE_Z:
|
||||
@ -1092,19 +1092,19 @@ public class MessageView extends K9Activity implements OnClickListener
|
||||
|
||||
if (mLastDirection == NEXT && mNextMessage != null)
|
||||
{
|
||||
onNext(K9.isAnimations());
|
||||
onNext(K9.showAnimations());
|
||||
}
|
||||
else if (mLastDirection == PREVIOUS && mPreviousMessage != null)
|
||||
{
|
||||
onPrevious(K9.isAnimations());
|
||||
onPrevious(K9.showAnimations());
|
||||
}
|
||||
else if (mNextMessage != null)
|
||||
{
|
||||
onNext(K9.isAnimations());
|
||||
onNext(K9.showAnimations());
|
||||
}
|
||||
else if (mPreviousMessage != null)
|
||||
{
|
||||
onPrevious(K9.isAnimations());
|
||||
onPrevious(K9.showAnimations());
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1498,11 +1498,11 @@ public class MessageView extends K9Activity implements OnClickListener
|
||||
break;
|
||||
case R.id.next:
|
||||
case R.id.next_scrolling:
|
||||
onNext(K9.isAnimations());
|
||||
onNext(K9.showAnimations());
|
||||
break;
|
||||
case R.id.previous:
|
||||
case R.id.previous_scrolling:
|
||||
onPrevious(K9.isAnimations());
|
||||
onPrevious(K9.showAnimations());
|
||||
break;
|
||||
case R.id.download:
|
||||
onDownloadAttachment((Attachment) view.getTag());
|
||||
|
@ -170,7 +170,7 @@ public class Prefs extends K9PreferenceActivity
|
||||
mSensitiveLogging.setChecked(K9.DEBUG_SENSITIVE);
|
||||
|
||||
mAnimations = (CheckBoxPreference)findPreference(PREFERENCE_ANIMATIONS);
|
||||
mAnimations.setChecked(K9.isAnimations());
|
||||
mAnimations.setChecked(K9.showAnimations());
|
||||
mGestures = (CheckBoxPreference)findPreference(PREFERENCE_GESTURES);
|
||||
mGestures.setChecked(K9.gesturesEnabled());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user