Remove extra status wrapper method

This commit is contained in:
Sam Whited 2014-11-15 11:31:15 -05:00
parent 251f4d6d7f
commit d2388a5a7e
2 changed files with 1 additions and 6 deletions

View file

@ -399,10 +399,6 @@ public class Account extends AbstractEntity {
return this.avatar; return this.avatar;
} }
public int getReadableStatusId() {
return this.getStatus().getReadableId();
}
public void activateGracePeriod() { public void activateGracePeriod() {
this.mEndGracePeriod = SystemClock.elapsedRealtime() this.mEndGracePeriod = SystemClock.elapsedRealtime()
+ (Config.CARBON_GRACE_PERIOD * 1000); + (Config.CARBON_GRACE_PERIOD * 1000);

View file

@ -428,8 +428,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
} }
} else { } else {
if (this.mAccount.errorStatus()) { if (this.mAccount.errorStatus()) {
this.mAccountJid.setError(getString(this.mAccount this.mAccountJid.setError(getString(this.mAccount.getStatus().getReadableId()));
.getReadableStatusId()));
this.mAccountJid.requestFocus(); this.mAccountJid.requestFocus();
} }
this.mStats.setVisibility(View.GONE); this.mStats.setVisibility(View.GONE);