Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,11 @@ private void setBottomAppBarButtonState() {
}

private void prevNextCard(boolean next) {
// If there are no other cards, don't bother switching
if (cardList == null || cardList.size() == 1) {
return;
}

// If we're in RTL layout, we want the "left" button to be "next" instead of "previous"
// So we swap next around
boolean transitionRight = next;
Expand Down