MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / destroyView

Method destroyView

src/main/java/Account/AccountSelect.java:147–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145 }
146
147 public void destroyView() {
148 if (itemsList.size() > 0) {
149 if (StaticData.getInstance().account == null) {
150 sd.roster.loadAccount(false, cf.accountIndex);
151 }
152 parentView = sd.roster;
153 super.destroyView();
154 }
155 }
156
157 private void delAccount() {
158 if (itemsList.size() == 1) {

Callers 2

menuActionMethod · 0.95
switchAccountMethod · 0.95

Calls 3

getInstanceMethod · 0.95
loadAccountMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected