Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd7f9681 authored by Sean Stout's avatar Sean Stout
Browse files

Timer right button won't go to create timer if already there

Bug: 31068990
Test: manual - quickly tap "delete" and "add timer" in succession
Change-Id: I15b6c06e06ed282cf8ec7d5f1aaea8bba4cdcd85
parent 12540ba3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -369,8 +369,10 @@ public final class TimerFragment extends DeskClockFragment {

    @Override
    public void onRightButtonClick(@NonNull ImageButton right) {
        if (mCurrentView != mCreateTimerView) {
            animateToView(mCreateTimerView, null);
        }
    }

    @Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {