kopia lustrzana https://github.com/ryukoposting/Signal-Android
Hide megaphone view in archived list.
rodzic
9bb089d198
commit
7167ad331f
|
@ -819,7 +819,7 @@ public class ConversationListFragment extends MainFragment implements ActionMode
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onMegaphoneChanged(@Nullable Megaphone megaphone) {
|
private void onMegaphoneChanged(@Nullable Megaphone megaphone) {
|
||||||
if (megaphone == null) {
|
if (megaphone == null || isArchived()) {
|
||||||
if (megaphoneContainer.resolved()) {
|
if (megaphoneContainer.resolved()) {
|
||||||
megaphoneContainer.get().setVisibility(View.GONE);
|
megaphoneContainer.get().setVisibility(View.GONE);
|
||||||
megaphoneContainer.get().removeAllViews();
|
megaphoneContainer.get().removeAllViews();
|
||||||
|
|
Ładowanie…
Reference in New Issue