Add missing breaks in switch statements (#2127)

This commit is contained in:
Zero King 2021-04-06 15:18:52 +00:00 committed by GitHub
parent 7a2ee15078
commit 41847bc009
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -235,6 +235,7 @@ public class NotificationsAdapter extends RecyclerView.Adapter {
holder.setupWithAccount(concreteNotificaton.getAccount(), statusDisplayOptions.animateAvatars(), statusDisplayOptions.animateEmojis());
holder.setupActionListener(accountActionListener, concreteNotificaton.getAccount().getId());
}
break;
}
default:
}

View file

@ -863,6 +863,7 @@ public class NotificationsFragment extends SFragment implements
adapter.setMediaPreviewEnabled(enabled);
fullyRefresh();
}
break;
}
case "showNotificationsFilter": {
if (isAdded()) {
@ -870,6 +871,7 @@ public class NotificationsFragment extends SFragment implements
updateFilterVisibility();
fullyRefreshWithProgressBar(true);
}
break;
}
}
}