diff options
author | Allan Wang <me@allanwang.ca> | 2021-01-11 21:19:32 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2021-01-11 21:19:32 -0800 |
commit | 58dbac5b01f9532375fd235fb21209424b6cf26a (patch) | |
tree | 85378e03eef7264f71d7259d4cda8e3b5028db54 /app/src/main/kotlin/com | |
parent | 56efff49fe15ec54c53fed18a2e1af903916e80a (diff) | |
download | frost-58dbac5b01f9532375fd235fb21209424b6cf26a.tar.gz frost-58dbac5b01f9532375fd235fb21209424b6cf26a.tar.bz2 frost-58dbac5b01f9532375fd235fb21209424b6cf26a.zip |
Delete subject string and email
Diffstat (limited to 'app/src/main/kotlin/com')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt | 12 |
1 files changed, 0 insertions, 12 deletions
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()) |