aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-01-11 21:19:32 -0800
committerAllan Wang <me@allanwang.ca>2021-01-11 21:19:32 -0800
commit58dbac5b01f9532375fd235fb21209424b6cf26a (patch)
tree85378e03eef7264f71d7259d4cda8e3b5028db54 /app/src/main/kotlin/com
parent56efff49fe15ec54c53fed18a2e1af903916e80a (diff)
downloadfrost-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.kt12
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())