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.setupWithAccount(concreteNotificaton.getAccount(), statusDisplayOptions.animateAvatars(), statusDisplayOptions.animateEmojis());
|
||||||
holder.setupActionListener(accountActionListener, concreteNotificaton.getAccount().getId());
|
holder.setupActionListener(accountActionListener, concreteNotificaton.getAccount().getId());
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
|
|
@ -863,6 +863,7 @@ public class NotificationsFragment extends SFragment implements
|
||||||
adapter.setMediaPreviewEnabled(enabled);
|
adapter.setMediaPreviewEnabled(enabled);
|
||||||
fullyRefresh();
|
fullyRefresh();
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case "showNotificationsFilter": {
|
case "showNotificationsFilter": {
|
||||||
if (isAdded()) {
|
if (isAdded()) {
|
||||||
|
@ -870,6 +871,7 @@ public class NotificationsFragment extends SFragment implements
|
||||||
updateFilterVisibility();
|
updateFilterVisibility();
|
||||||
fullyRefreshWithProgressBar(true);
|
fullyRefreshWithProgressBar(true);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue