Commit f049544e authored by Leonardo Aramaki's avatar Leonardo Aramaki

Remove useless code

parent 5c217510
......@@ -300,15 +300,6 @@ public class MainActivity extends AbstractAuthedActivity implements MainContract
FrescoHelper.INSTANCE.loadImage(serverButton, logoUrl, ContextCompat.getDrawable(this, R.mipmap.ic_launcher));
serverListContainer.addView(newServerView);
} else {
View dotView = serverView.findViewById(R.id.selected_server_dot);
if (hostname.equalsIgnoreCase(serverHostname)) {
serverView.setSelected(true);
dotView.setVisibility(View.VISIBLE);
} else {
serverView.setSelected(false);
dotView.setVisibility(View.GONE);
}
}
}
serverListContainer.addView(addServerButton);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment