diff options
-rw-r--r-- | src/com/android/deskclock/timer/TimerFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/deskclock/timer/TimerFragment.java b/src/com/android/deskclock/timer/TimerFragment.java index e194891ef..165c359bd 100644 --- a/src/com/android/deskclock/timer/TimerFragment.java +++ b/src/com/android/deskclock/timer/TimerFragment.java @@ -238,15 +238,15 @@ public final class TimerFragment extends DeskClockFragment { @Override public int getFabTargetVisibility() { + final Timer timer = getTimer(); if (mCurrentView == mTimersView) { - final Timer timer = getTimer(); if (timer == null) { return INVISIBLE; } else { return VISIBLE; } } else if (mCurrentView == mCreateTimerView) { - if (mCreateTimerView.hasValidInput()) { + if (mCreateTimerView.hasValidInput() || timer != null) { return VISIBLE; } else { return INVISIBLE; |