Add missing breaks in switch statements (#2127)
This commit is contained in:
parent
7a2ee15078
commit
41847bc009
2 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue