From 58dbac5b01f9532375fd235fb21209424b6cf26a Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 11 Jan 2021 21:19:32 -0800 Subject: Delete subject string and email --- app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'app/src/main/kotlin/com/pitchedapps') diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt index ebefa4ca..fab121a9 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt @@ -397,18 +397,6 @@ fun Context.frostUri(entry: String): Uri { return uri } -inline fun Context.sendFrostEmail( - @StringRes subjectId: Int, - crossinline builder: EmailBuilder.() -> Unit -) = - sendFrostEmail(string(subjectId), builder) - -inline fun Context.sendFrostEmail(subjectId: String, crossinline builder: EmailBuilder.() -> Unit) = - sendEmail(string(R.string.dev_email), subjectId) { - builder() - addFrostDetails() - } - fun EmailBuilder.addFrostDetails() { val prefs = Prefs.get() addItem("Prev version", prefs.prevVersionCode.toString()) -- cgit v1.2.3