Upgrade gradle and kotlin versions

This commit is contained in:
moezbhatti
2018-11-17 18:06:30 -05:00
parent 6bbe8a0260
commit bbecd69ad9
10 changed files with 20 additions and 22 deletions
@@ -22,7 +22,6 @@ import android.content.Context
import android.telephony.PhoneNumberUtils
import android.telephony.SmsMessage
import android.view.inputmethod.EditorInfo
import androidx.core.widget.toast
import com.moez.QKSMS.R
import com.moez.QKSMS.common.Navigator
import com.moez.QKSMS.common.androidxcompat.scope
@@ -503,7 +502,7 @@ class ComposeViewModel @Inject constructor(
view.scheduleSelectedIntent
.filter { scheduled ->
(scheduled > System.currentTimeMillis()).also { future ->
if (!future) context.toast(R.string.compose_scheduled_future)
if (!future) context.makeToast(R.string.compose_scheduled_future)
}
}
.autoDisposable(view.scope())
@@ -607,7 +606,7 @@ class ComposeViewModel @Inject constructor(
val uris = attachments.map { it.getUri() }.map { it.toString() }
val params = AddScheduledMessage.Params(state.scheduled, subId, addresses, state.sendAsGroup, body, uris)
addScheduledMessage.execute(params)
context.toast(R.string.compose_scheduled_toast)
context.makeToast(R.string.compose_scheduled_toast)
}
state.sendAsGroup -> {