aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps')
-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())