fix bug: remove check for existence of toast_habits_deleted

pull/138/head
Sheryl Hohman 9 years ago
parent 7f6cbd1cd6
commit ddd7cbbb8a

@ -52,7 +52,7 @@ public class DeleteHabitsCommand extends Command
public Integer getExecuteStringId() public Integer getExecuteStringId()
{ {
if ((this.plural) && (toast_habits_deleted != null)) { if (this.plural) {
return R.string.toast_habits_deleted; return R.string.toast_habits_deleted;
} }
else { else {
@ -62,7 +62,7 @@ public class DeleteHabitsCommand extends Command
public Integer getUndoStringId() public Integer getUndoStringId()
{ {
if ((this.plural) && (toast_habits_deleted != null)){ if (this.plural){
return R.string.toast_habits_restored; return R.string.toast_habits_restored;
} }
else { else {

Loading…
Cancel
Save