remove unused menu item
This commit is contained in:
parent
d9abf82918
commit
8a6d86727c
|
@ -352,7 +352,6 @@ public class HeaderStatusDisplayItem extends StatusDisplayItem{
|
||||||
menu.findItem(R.id.copy_link).setVisible(item.status!=null);
|
menu.findItem(R.id.copy_link).setVisible(item.status!=null);
|
||||||
MenuItem blockDomain=menu.findItem(R.id.block_domain);
|
MenuItem blockDomain=menu.findItem(R.id.block_domain);
|
||||||
MenuItem mute=menu.findItem(R.id.mute);
|
MenuItem mute=menu.findItem(R.id.mute);
|
||||||
MenuItem hideBoosts=menu.findItem(R.id.hide_boosts);
|
|
||||||
MenuItem block=menu.findItem(R.id.block);
|
MenuItem block=menu.findItem(R.id.block);
|
||||||
MenuItem report=menu.findItem(R.id.report);
|
MenuItem report=menu.findItem(R.id.report);
|
||||||
MenuItem follow=menu.findItem(R.id.follow);
|
MenuItem follow=menu.findItem(R.id.follow);
|
||||||
|
@ -368,7 +367,6 @@ public class HeaderStatusDisplayItem extends StatusDisplayItem{
|
||||||
*/
|
*/
|
||||||
if(isOwnPost){
|
if(isOwnPost){
|
||||||
mute.setVisible(false);
|
mute.setVisible(false);
|
||||||
hideBoosts.setVisible(false);
|
|
||||||
block.setVisible(false);
|
block.setVisible(false);
|
||||||
report.setVisible(false);
|
report.setVisible(false);
|
||||||
follow.setVisible(false);
|
follow.setVisible(false);
|
||||||
|
|
Loading…
Reference in New Issue