diff --git a/app/src/main/java/com/github/yeriomin/smsscheduler/Activity/AddSmsActivity.java b/app/src/main/java/com/github/yeriomin/smsscheduler/Activity/AddSmsActivity.java index b1c0ea7..8b60485 100644 --- a/app/src/main/java/com/github/yeriomin/smsscheduler/Activity/AddSmsActivity.java +++ b/app/src/main/java/com/github/yeriomin/smsscheduler/Activity/AddSmsActivity.java @@ -154,6 +154,7 @@ public void scheduleSms(View view) { if (!validateForm()) { return; } + sms.setStatus(SmsModel.STATUS_PENDING); DbHelper.getDbHelper(this).save(sms); new Scheduler(getApplicationContext()).schedule(sms); setResult(RESULT_SCHEDULED, new Intent());