check: "toast_habits_deleted" exists (language dep)

pull/138/head
Sheryl Hohman 9 years ago
parent d5f1ebf169
commit 69df93e28c

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

Loading…
Cancel
Save